CrystalSpace

Public API Reference

CS::Physics::iKinematicCallback Struct Reference

A callback to be implemented when you are using kinematic bodies. More...

#include <ivaria/physics.h>

Inheritance diagram for CS::Physics::iKinematicCallback:

List of all members.

Public Member Functions

virtual void GetBodyTransform (iRigidBody *body, csOrthoTransform &transform) const =0
 Update the new transform of the rigid body.

Detailed Description

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 movable (see iCollisionObject::SetAttachedSceneNode()).

See also:
CS::Physics::iRigidBody::SetKinematicCallback()

Definition at line 1313 of file physics.h.


Member Function Documentation

virtual void CS::Physics::iKinematicCallback::GetBodyTransform ( iRigidBody body,
csOrthoTransform transform 
) const [pure virtual]

Update the new transform of the rigid body.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1