DigitalSpaces::DIPhysicsBodyMovementListener Struct Reference
[Physics]

#include <Physics.h>

Inherits DigitalSpaces::DIObjectBase.


Detailed Description

Designed to be called after physics processing, to allow interested components to react to physics based movement.

Deprecated:
The physics simulation occurs every heartbeat, so any component interested in physics movement should specify a MaxHeartbeatInterval of 1, and simply do the work in PerformHeartbeat.
Note:
For movement tracking, a component should use the SceneGraph functions (DISGNode), and only use the Physics interfaces for advanced physics specific functionality.

Public Member Functions

void OnBodyMovement (DIPhysicsBody *body, out_Vector3f *position, out_Quaternionf *orientation)

Member Function Documentation

void DigitalSpaces::DIPhysicsBodyMovementListener::OnBodyMovement ( DIPhysicsBody body,
out_Vector3f position,
out_Quaternionf orientation 
)


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

Generated on Sun Aug 31 17:46:28 2008 for Digital Spaces by  doxygen 1.5.6