DynamicObject

DynamicObject

DynamicObject Reference

#include "TrueAxis.bi"


Inheritance diagram for DynamicObject:

Inheritance graph


Description

Implements interactive objects in the physics simulation.

Call the function DynamicObjectCreateNew to create a new instance of this class.

All objects that need to react to physical forces should use this class in the simulation. DynamicObject inherits from PhysicsObject.

Initialising with CollisionObjectCombo allows for more complex collision objects. It also allows multiple dynamic objects to share the same collision objects to help reduce memory usage. The other initialisers are provided mostly for rapid prototyping purposes.

After the object has been initialised, various functions such as DynamicObjectSetMass can be used to set the objects properties.

Dynamics objects can be added and removed from the physics simulation by use of the functions PhysicsAddDynamicObject and PhysicsRemoveDynamicObject. The function DynamicObjectAddedToPhysics can be used to determine the current state.


Copyright © 2015

Created with the Freeware Edition of HelpNDoc: Easily create Help documents