#include "TA/Physics/CollisionObjectComplex.h"
Inheritance diagram for TA::CollisionObjectComplex:
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
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 |