CrystalSpace

Public API Reference

CS::Physics::Bullet::iKinematicCallback Struct Reference

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

#include <ivaria/bullet.h>

Inheritance diagram for CS::Physics::Bullet::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 mesh, body or camera (see iRigidBody::AttachMesh(), iRigidBody::AttachLight(), iRigidBody::AttachCamera()).

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

Definition at line 719 of file bullet.h.


Member Function Documentation

virtual void CS::Physics::Bullet::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