iDynamicsCollisionCallback Struct Reference
This is the interface for attaching a collider callback to the body. More...
Public Member Functions
|virtual void||Execute (iRigidBody *thisbody, iRigidBody *otherbody, const csVector3 &pos, const csVector3 &normal, float depth)=0|
|A collision occured. |
This is the interface for attaching a collider callback to the body.
Main ways to get pointers to this interface:
- application specific
Main users of this interface:
Member Function Documentation
|virtual void iDynamicsCollisionCallback::Execute||(||iRigidBody *||thisbody,|
|const csVector3 &||pos,|
|const csVector3 &||normal,|
A collision occured.
thisbody The body that received a collision. otherbody The body that collided with thisBody. pos is the position on which the collision occured. normal is the collision normal. depth is the penetration depth.
The documentation for this struct was generated from the following file:
Generated for Crystal Space 2.1 by doxygen 1.6.1