True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

TA::PhysicsObject Class Reference

#include "TA/Physics/PhysicsObject.h"

Inheritance diagram for TA::PhysicsObject:

Inheritance graph

Detailed Description

A virtual base class for all object types that can be added to the physics simulation.

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.

Reference Counting:
This class is reference counted. After the object is created it will have a reference count of one. 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 ()


© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.