Interface for receiving callbacks once two non-trigger 2D colliders start touching. More...
Inherits Quantum.ISignal.
Inherited by Quantum.PhysicsBenchmark, and Quantum.PhysicsCallbacksTestSystem.
Public Member Functions | |
void | OnCollisionEnter2D (Frame f, CollisionInfo2D info) |
Called once two non-trigger 2D colliders start touching. More... | |
Interface for receiving callbacks once two non-trigger 2D colliders start touching.
At least one of the entities involved in a collision must have the respective CallbackFlags set for the callback to be called.
See PhysicsEngine2D.SetCallbacks for setting the callbacks flags to an entity.