![]() |
Public API Reference |
A generic body in Bullet's dynamic simulation. More...
#include <ivaria/bullet.h>
Public Member Functions | |
| virtual BodyType | GetType () const =0 |
| Return the type of this body. | |
| virtual ::iRigidBody * | QueryRigidBody ()=0 |
| Query the iRigidBody interface of this body. | |
| virtual iSoftBody * | QuerySoftBody ()=0 |
| Query the CS::Physics::Bullet::iSoftBody interface of this body. | |
| virtual iTerrainCollider * | QueryTerrainCollider ()=0 |
| Query the CS::Physics::Bullet::iTerrainCollider interface of this body. | |
| virtual BodyType CS::Physics::Bullet::iBody::GetType | ( | ) | const [pure virtual] |
Return the type of this body.
| virtual ::iRigidBody* CS::Physics::Bullet::iBody::QueryRigidBody | ( | ) | [pure virtual] |
Query the iRigidBody interface of this body.
It returns null if the interface is not valid, ie GetType() is not CS::Physics::Bullet::RIGID_BODY.
| virtual iSoftBody* CS::Physics::Bullet::iBody::QuerySoftBody | ( | ) | [pure virtual] |
Query the CS::Physics::Bullet::iSoftBody interface of this body.
It returns null if the interface is not valid, ie GetType() is not CS::Physics::Bullet::SOFT_BODY.
| virtual iTerrainCollider* CS::Physics::Bullet::iBody::QueryTerrainCollider | ( | ) | [pure virtual] |
Query the CS::Physics::Bullet::iTerrainCollider interface of this body.
It returns null if the interface is not valid, ie GetType() is not CS::Physics::Bullet::TERRAIN.