Describes the format of an Shape. More...
#include <Shape.h>
Public Member Functions | |
virtual bool | intersectAgainstAABB (PxBounds3)=0 |
intersect the collision shape against a given AABB | |
virtual PxBounds3 | getAABB () const =0 |
AABB of collision shape. | |
virtual const BoxShape * | isBoxGeom () const |
If it is a box, cast to box class, return NULL otherwise. | |
virtual const SphereShape * | isSphereGeom () const |
If it is a sphere, cast to sphere class, return NULL otherwise. | |
virtual const CapsuleShape * | isCapsuleGeom () const |
If it is a capsule, cast to the capsule class, return NULL otherwise. | |
virtual const HalfSpaceShape * | isHalfSpaceGeom () const |
If it is a half space, cast to half space class, return NULL otherwise. | |
virtual void | releaseApexShape ()=0 |
Release shape. | |
virtual void | visualize (RenderDebugInterface *renderer) const =0 |
Visualize shape. | |
virtual PxMat44 | getPose () const =0 |
get the pose of the shape | |
virtual void | setPose (PxMat44 pose)=0 |
set the pose of the shape - this pose will modify the scale, orientation and position of the shape | |
virtual PxMat44 | getPreviousPose () const =0 |
get the previous pose of the shape |
Describes the format of an Shape.