StaticObject

StaticObject

StaticObject Class Reference

#include "TrueAxis.bi"



Inheritance diagram for StaticObject:

Inheritance graph


Description

An container for large static arbitrary polygon meshes.

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

Static objects are designed to represent large arbitrary meshes in the physics simulation. Any object that remains static, doesn't need to react to collisions but that other objects need to collide with, should be part of a static object.

Static objects must be initialised with an object that inherits from CollisionObjectComplex. The the class CollisionObjectAABBMesh provides an implementation of CollisionObjectComplex. It is also possible to override CollisionObjectComplex, allowing the user to provide their own high level collision testing. See StaticObjectInitialise for more details.

Static objects can be added and removed from the physics simulation by calling the functions PhysicsAddStaticObject and PhysicsRemoveStaticObject.

Copyright © 2015

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