![]() |
Public API Reference |
![]() |
This is the interface for a dynamics move callback. More...
#include <ivaria/dynamics.h>
Public Member Functions | |
virtual void | Execute (iMeshWrapper *mesh, csOrthoTransform &t)=0 |
Update the position of the mesh with the specified transform. | |
virtual void | Execute (iLight *light, csOrthoTransform &t)=0 |
Update the position of the light with the specified transform. | |
virtual void | Execute (iCamera *camera, csOrthoTransform &t)=0 |
Update the position of the camera with the specified transform. | |
virtual void | Execute (csOrthoTransform &t)=0 |
Update the position of the rigid body with the specified transform. |
This is the interface for a dynamics move callback.
Set on iRigidBody, it can update attachments after each step.
Main ways to get pointers to this interface:
Main users of this interface:
Definition at line 398 of file dynamics.h.
virtual void iDynamicsMoveCallback::Execute | ( | iMeshWrapper * | mesh, |
csOrthoTransform & | t | ||
) | [pure virtual] |
Update the position of the mesh with the specified transform.
virtual void iDynamicsMoveCallback::Execute | ( | iLight * | light, |
csOrthoTransform & | t | ||
) | [pure virtual] |
Update the position of the light with the specified transform.
virtual void iDynamicsMoveCallback::Execute | ( | iCamera * | camera, |
csOrthoTransform & | t | ||
) | [pure virtual] |
Update the position of the camera with the specified transform.
virtual void iDynamicsMoveCallback::Execute | ( | csOrthoTransform & | t | ) | [pure virtual] |
Update the position of the rigid body with the specified transform.
If you want to attach to the rigid body an object different than a mesh, a camera or a light, then you should reimplement this method and update here the position of your object.