#include <spPhysXRigidBody.hpp>
Public Member Functions | |
PhysXRigidBody (PxPhysics *PxDevice, PhysXMaterial *Material, const ERigidBodies Type, scene::SceneNode *RootNode, const SRigidBodyConstruction &Construct) | |
~PhysXRigidBody () | |
void | setMass (f32 Mass) |
void | setMassCenter (const dim::vector3df &LocalPoint) |
dim::vector3df | getMassCenter () const |
void | addVelocity (const dim::vector3df &Direction) |
void | setVelocity (const dim::vector3df &Direction) |
dim::vector3df | getVelocity () const |
void | addImpulse (const dim::vector3df &Direction, const dim::vector3df &PivotPoint) |
void | setForce (const dim::vector3df &Direction) |
Friends | |
class | PhysXSimulator |
class | PhysXJoint |
sp::physics::PhysXRigidBody::PhysXRigidBody | ( | PxPhysics * | PxDevice, | |
PhysXMaterial * | Material, | |||
const ERigidBodies | Type, | |||
scene::SceneNode * | RootNode, | |||
const SRigidBodyConstruction & | Construct | |||
) |
sp::physics::PhysXRigidBody::~PhysXRigidBody | ( | ) |
void sp::physics::PhysXRigidBody::addImpulse | ( | const dim::vector3df & | Direction, | |
const dim::vector3df & | PivotPoint | |||
) |
void sp::physics::PhysXRigidBody::addVelocity | ( | const dim::vector3df & | Direction | ) |
dim::vector3df sp::physics::PhysXRigidBody::getMassCenter | ( | ) | const |
dim::vector3df sp::physics::PhysXRigidBody::getVelocity | ( | ) | const |
void sp::physics::PhysXRigidBody::setForce | ( | const dim::vector3df & | Direction | ) |
void sp::physics::PhysXRigidBody::setMass | ( | f32 | Mass | ) |
void sp::physics::PhysXRigidBody::setMassCenter | ( | const dim::vector3df & | LocalPoint | ) |
void sp::physics::PhysXRigidBody::setVelocity | ( | const dim::vector3df & | Direction | ) |
friend class PhysXJoint [friend] |
Reimplemented from sp::physics::PhysXBaseObject.
friend class PhysXSimulator [friend] |