Quantum 3 3.0.10

Public Member Functions | List of all members
Quantum.Core.ICollisionCallbacks3D Interface Reference

Interface for receiving 3D collision callbacks More...

Inheritance diagram for Quantum.Core.ICollisionCallbacks3D:
Quantum.Core.PhysicsSystem3D

Public Member Functions

void OnCollision3D (FrameBase f, CollisionInfo3D info)
 Raised when two non-trigger 3D colliders collide. Raised every frame while the collision lasts. More...
 
void OnCollisionEnter3D (FrameBase f, CollisionInfo3D info)
 Raised on the frame when two non-trigger 3D colliders start colliding. More...
 
void OnCollisionExit3D (FrameBase f, ExitInfo3D info)
 Raised on the first frame when two non-trigger 3D colliders are detected as no longer colliding. More...
 
void OnTrigger3D (FrameBase f, TriggerInfo3D info)
 Raised when two 3D colliders collide if exactly one of them is a trigger collider. Raised every frame while the collision lasts. More...
 
void OnTriggerEnter3D (FrameBase f, TriggerInfo3D info)
 Raised on the first frame when two 3D colliders start colliding if exactly one of them is a trigger collider. More...
 
void OnTriggerExit3D (FrameBase f, ExitInfo3D info)
 Raised on the first frame when two 3D colliders are detected as no longer colliding if exactly one of them is a trigger collider. More...
 

Detailed Description

Interface for receiving 3D collision callbacks

Member Function Documentation

◆ OnCollision3D()

void Quantum.Core.ICollisionCallbacks3D.OnCollision3D ( FrameBase  f,
CollisionInfo3D  info 
)

Raised when two non-trigger 3D colliders collide. Raised every frame while the collision lasts.

Parameters
fCurrent frame instance.
infoDetails about the collision.

Implemented in Quantum.Core.PhysicsSystem3D.

◆ OnCollisionEnter3D()

void Quantum.Core.ICollisionCallbacks3D.OnCollisionEnter3D ( FrameBase  f,
CollisionInfo3D  info 
)

Raised on the frame when two non-trigger 3D colliders start colliding.

Parameters
fCurrent frame instance.
infoDetails about the collision.

Implemented in Quantum.Core.PhysicsSystem3D.

◆ OnCollisionExit3D()

void Quantum.Core.ICollisionCallbacks3D.OnCollisionExit3D ( FrameBase  f,
ExitInfo3D  info 
)

Raised on the first frame when two non-trigger 3D colliders are detected as no longer colliding.

Parameters
fCurrent frame instance.
infoDetails about the collision.

Implemented in Quantum.Core.PhysicsSystem3D.

◆ OnTrigger3D()

void Quantum.Core.ICollisionCallbacks3D.OnTrigger3D ( FrameBase  f,
TriggerInfo3D  info 
)

Raised when two 3D colliders collide if exactly one of them is a trigger collider. Raised every frame while the collision lasts.

Parameters
fCurrent frame instance.
infoDetails about the collision.

Implemented in Quantum.Core.PhysicsSystem3D.

◆ OnTriggerEnter3D()

void Quantum.Core.ICollisionCallbacks3D.OnTriggerEnter3D ( FrameBase  f,
TriggerInfo3D  info 
)

Raised on the first frame when two 3D colliders start colliding if exactly one of them is a trigger collider.

Parameters
fCurrent frame instance.
infoDetails about the collision.

Implemented in Quantum.Core.PhysicsSystem3D.

◆ OnTriggerExit3D()

void Quantum.Core.ICollisionCallbacks3D.OnTriggerExit3D ( FrameBase  f,
ExitInfo3D  info 
)

Raised on the first frame when two 3D colliders are detected as no longer colliding if exactly one of them is a trigger collider.

Parameters
fCurrent frame instance.
infoDetails about the collision.

Implemented in Quantum.Core.PhysicsSystem3D.