#include "TA/Physics/CollisionObjectCapsule.h"
Inheritance diagram for TA::CollisionObjectCapsule:

Call the static function TA::CollisionObjectCapsule::CreateNew to create a new instance of this class.
Here a capsule is taken to mean a cylinder with a hemisphere rounding off each end.
Capsule Diagram
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 | |
| void | Initialise (const Vec3 &v3PointA, const Vec3 &v3PointB, float fRadius) |
| void | Finalise () |
| bool | Serialisable () const |
| void | Render (const MFrame &mFrame) |
| AABB | CalculateBoundingBox () const |
| void | CalculateMass (float fDensity, float &fMass, Vec3 &v3CenterOfMass, Mat33 &m33Inertia) const |
| const Vec3 & | GetPointA () const |
| const Vec3 & | GetPointB () const |
| float | GetRadius () const |
| virtual bool | TestLineForCollision (const Vec3 &v3Start, const Vec3 &v3Normal, float fLength, Collision &collision) const |
Internal | |
| void | Serialise (Serialiser &serialiser, const Version &version) |
Static Public Member Functions | |
| static CollisionObjectCapsule *TAC_CALL | CreateNew () |