![]() |
Public API Reference |
![]() |
A callback to be implemented when you are using kinematic bodies. More...
#include <ivaria/bullet.h>
Public Member Functions | |
virtual void | GetBodyTransform (::iRigidBody *body, csOrthoTransform &transform) const =0 |
Update the new transform of the rigid body. |
A callback to be implemented when you are using kinematic bodies.
If no callback are provided then the dynamic system will use a default one which will update the transform of the body from the position of the attached mesh, body or camera (see iRigidBody::AttachMesh(), iRigidBody::AttachLight(), iRigidBody::AttachCamera()).
virtual void CS::Physics::Bullet::iKinematicCallback::GetBodyTransform | ( | ::iRigidBody * | body, |
csOrthoTransform & | transform | ||
) | const [pure virtual] |
Update the new transform of the rigid body.