CrystalSpace

Public API Reference

iDynamicsMoveCallback Struct Reference

This is the interface for a dynamics move callback. More...

#include <ivaria/dynamics.h>

Inheritance diagram for iDynamicsMoveCallback:

List of all members.

Public Member Functions

virtual void Execute (csOrthoTransform &t)=0
 Update the position of the rigid body 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 (iLight *light, csOrthoTransform &t)=0
 Update the position of the light with the specified transform.
virtual void Execute (iMeshWrapper *mesh, csOrthoTransform &t)=0
 Update the position of the mesh with the specified transform.

Detailed Description

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 400 of file dynamics.h.


Member Function Documentation

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.

virtual void iDynamicsMoveCallback::Execute ( iCamera camera,
csOrthoTransform t 
) [pure virtual]

Update the position of the camera 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 ( iMeshWrapper mesh,
csOrthoTransform t 
) [pure virtual]

Update the position of the mesh with the specified transform.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1