Logo Search packages:      
Sourcecode: blender version File versions

btRigidBody Class Reference

#include <btRigidBody.h>

List of all members.

Detailed Description

btRigidBody class for btRigidBody Dynamics

Definition at line 40 of file btRigidBody.h.

Public Member Functions

void addConstraintRef (btTypedConstraint *c)
void applyCentralForce (const btVector3 &force)
void applyCentralImpulse (const btVector3 &impulse)
void applyForce (const btVector3 &force, const btVector3 &rel_pos)
void applyForces (btScalar step)
void applyImpulse (const btVector3 &impulse, const btVector3 &rel_pos)
void applyTorque (const btVector3 &torque)
void applyTorqueImpulse (const btVector3 &torque)
 btRigidBody (btScalar mass, btMotionState *motionState, btCollisionShape *collisionShape, const btVector3 &localInertia=btVector3(0, 0, 0), btScalar linearDamping=btScalar(0.), btScalar angularDamping=btScalar(0.), btScalar friction=btScalar(0.5), btScalar restitution=btScalar(0.))
virtual bool checkCollideWithOverride (btCollisionObject *co)
void clearForces ()
btScalar computeAngularImpulseDenominator (const btVector3 &axis) const
btScalar computeImpulseDenominator (const btPoint3 &pos, const btVector3 &normal) const
void getAabb (btVector3 &aabbMin, btVector3 &aabbMax) const
btScalar getAngularFactor () const
const btVector3getAngularVelocity () const
btBroadphaseProxygetBroadphaseProxy ()
const btBroadphaseProxygetBroadphaseProxy () const
const btPoint3getCenterOfMassPosition () const
const btTransformgetCenterOfMassTransform () const
btCollisionShapegetCollisionShape ()
const btCollisionShapegetCollisionShape () const
const btVector3getGravity () const
const btVector3getInvInertiaDiagLocal ()
const btMatrix3x3 & getInvInertiaTensorWorld () const
btScalar getInvMass () const
const btVector3getLinearVelocity () const
const btMotionStategetMotionState () const
btMotionStategetMotionState ()
btQuaternion getOrientation () const
btVector3 getVelocityInLocalPoint (const btVector3 &rel_pos) const
void integrateVelocities (btScalar step)
void internalApplyImpulse (const btVector3 &linearComponent, const btVector3 &angularComponent, btScalar impulseMagnitude)
bool isInWorld () const
void predictIntegratedTransform (btScalar step, btTransform &predictedTransform)
 continuous collision detection needs prediction
void proceedToTransform (const btTransform &newTrans)
void removeConstraintRef (btTypedConstraint *c)
void saveKinematicState (btScalar step)
void setAngularFactor (btScalar angFac)
void setAngularVelocity (const btVector3 &ang_vel)
void setCenterOfMassTransform (const btTransform &xform)
void setDamping (btScalar lin_damping, btScalar ang_damping)
void setGravity (const btVector3 &acceleration)
void setInvInertiaDiagLocal (const btVector3 &diagInvInertia)
void setLinearVelocity (const btVector3 &lin_vel)
void setMassProps (btScalar mass, const btVector3 &inertia)
void setMotionState (btMotionState *motionState)
void setNewBroadphaseProxy (btBroadphaseProxy *broadphaseProxy)
void translate (const btVector3 &v)
void updateDeactivation (btScalar timeStep)
void updateInertiaTensor ()
bool wantsSleeping ()

Static Public Member Functions

static btRigidBodyupcast (btCollisionObject *colObj)
static const btRigidBodyupcast (const btCollisionObject *colObj)

Public Attributes

int m_contactSolverType
int m_debugBodyId
int m_frictionSolverType

Private Attributes

btScalar m_angularDamping
btScalar m_angularFactor
btVector3 m_angularVelocity
< btTypedConstraint * > 
btVector3 m_gravity
btScalar m_inverseMass
btVector3 m_invInertiaLocal
btMatrix3x3 m_invInertiaTensorWorld
btScalar m_linearDamping
btVector3 m_linearVelocity
btVector3 m_totalForce
btVector3 m_totalTorque

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index