Public Member Functions | Friends

sp::physics::PhysXRigidBody Class Reference

#include <spPhysXRigidBody.hpp>

Inheritance diagram for sp::physics::PhysXRigidBody:
sp::physics::RigidBody sp::physics::PhysXBaseObject sp::physics::DynamicPhysicsObject sp::physics::PhysicsBaseObject sp::physics::PhysicsBaseObject sp::BaseObject sp::BaseObject

List of all members.

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

Constructor & Destructor Documentation

sp::physics::PhysXRigidBody::PhysXRigidBody ( PxPhysics *  PxDevice,
PhysXMaterial Material,
const ERigidBodies  Type,
scene::SceneNode RootNode,
const SRigidBodyConstruction Construct 
)
sp::physics::PhysXRigidBody::~PhysXRigidBody (  ) 

Member Function Documentation

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  ) 

Friends And Related Function Documentation

friend class PhysXJoint [friend]

Reimplemented from sp::physics::PhysXBaseObject.

friend class PhysXSimulator [friend]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines