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

TA::CollisionObjectComplex Class Reference

#include "TA/Physics/CollisionObjectComplex.h"

Inheritance diagram for TA::CollisionObjectComplex:

Inheritance graph

Detailed Description

Provides an representation of large static arbitrary meshes.

All static objects contain a TA::CollisionObjectComplex. Not to be confused with TA::CollisionObjectConvex.

TA::CollisionObjectComplex is a virtual base class. TA::CollisionObjectAABBMesh provides an implementation. The user is also able to provide their own implementation.

To provide an implementation, the functions TA::CollisionObjectComplex::TestLineForCollision and TA::CollisionObjectComplex::CachedLocalPolygons must be overridden. See the documentation on these functions for more details

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

virtual void  CachedLocalPolygons (CollisionObjectCachedPolyData &cachedPolyData, const AABB &aabb, void *pDynamicObjectUserData=0) const =0


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