CS::Physics::Bullet::iKinematicCallback Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
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:

- ivaria/bullet.h