#include "TA/Physics/PhysicsObject.h"
Inheritance diagram for TA::PhysicsObject:
TA::StaticObject and TA::DynamicObject are both inherited from this class. TA::Physics provides the functions TA::Physics::AddDynamicObject and TA::Physics::AddStaticObject for adding these objects to the simulation. The function TA::PhysicsObject::AddedToPhysics can be used to determine the objects current state.
AddRef()
and Release()
can be called to increment and decrement the reference count. If the reference count is zero after a call to Release()
the object will be automatically deleted. Reference counted objects should only be created using new.
Public Member Functions | |
bool | AddedToPhysics () const |
Protected Member Functions | |
void | Initialise () |
void | Finalise () |