Interface for receiving 2D collision callbacks More...
Public Member Functions | |
void | OnCollision2D (FrameBase f, CollisionInfo2D info) |
Raised when two non-trigger 2D colliders collide. Raised every frame while the collision lasts. More... | |
void | OnCollisionEnter2D (FrameBase f, CollisionInfo2D info) |
Raised on the frame when two non-trigger 2D colliders start colliding. More... | |
void | OnCollisionExit2D (FrameBase f, ExitInfo2D info) |
Raised on the first frame when two non-trigger 2D colliders are detected as no longer colliding. More... | |
void | OnTrigger2D (FrameBase f, TriggerInfo2D info) |
Raised when two 2D colliders collide if exactly one of them is a trigger collider. Raised every frame while the collision lasts. More... | |
void | OnTriggerEnter2D (FrameBase f, TriggerInfo2D info) |
Raised on the first frame when two 2D colliders start colliding if exactly one of them is a trigger collider. More... | |
void | OnTriggerExit2D (FrameBase f, ExitInfo2D info) |
Raised on the first frame when two 2D colliders are detected as no longer colliding if exactly one of them is a trigger collider. More... | |
Interface for receiving 2D collision callbacks
void Quantum.Core.ICollisionCallbacks2D.OnCollision2D | ( | FrameBase | f, |
CollisionInfo2D | info | ||
) |
Raised when two non-trigger 2D colliders collide. Raised every frame while the collision lasts.
f | Current frame instance. |
info | Details about the collision. |
Implemented in Quantum.Core.PhysicsSystem2D.
void Quantum.Core.ICollisionCallbacks2D.OnCollisionEnter2D | ( | FrameBase | f, |
CollisionInfo2D | info | ||
) |
Raised on the frame when two non-trigger 2D colliders start colliding.
f | Current frame instance. |
info | Details about the collision. |
Implemented in Quantum.Core.PhysicsSystem2D.
void Quantum.Core.ICollisionCallbacks2D.OnCollisionExit2D | ( | FrameBase | f, |
ExitInfo2D | info | ||
) |
Raised on the first frame when two non-trigger 2D colliders are detected as no longer colliding.
f | Current frame instance. |
info | Details about the collision. |
Implemented in Quantum.Core.PhysicsSystem2D.
void Quantum.Core.ICollisionCallbacks2D.OnTrigger2D | ( | FrameBase | f, |
TriggerInfo2D | info | ||
) |
Raised when two 2D colliders collide if exactly one of them is a trigger collider. Raised every frame while the collision lasts.
f | Current frame instance. |
info | Details about the collision. |
Implemented in Quantum.Core.PhysicsSystem2D.
void Quantum.Core.ICollisionCallbacks2D.OnTriggerEnter2D | ( | FrameBase | f, |
TriggerInfo2D | info | ||
) |
Raised on the first frame when two 2D colliders start colliding if exactly one of them is a trigger collider.
f | Current frame instance. |
info | Details about the collision. |
Implemented in Quantum.Core.PhysicsSystem2D.
void Quantum.Core.ICollisionCallbacks2D.OnTriggerExit2D | ( | FrameBase | f, |
ExitInfo2D | info | ||
) |
Raised on the first frame when two 2D colliders are detected as no longer colliding if exactly one of them is a trigger collider.
f | Current frame instance. |
info | Details about the collision. |
Implemented in Quantum.Core.PhysicsSystem2D.