Blender V2.61 - r43446
|
#include <KX_BulletPhysicsController.h>
Public Member Functions | |
virtual void | applyImpulse (const MT_Point3 &attach, const MT_Vector3 &impulse) |
virtual void | SetObject (SG_IObject *object) |
virtual void | setMargin (float collisionMargin) |
virtual void | RelativeTranslate (const MT_Vector3 &dloc, bool local) |
virtual void | RelativeRotate (const MT_Matrix3x3 &drot, bool local) |
virtual void | ApplyTorque (const MT_Vector3 &torque, bool local) |
virtual void | ApplyForce (const MT_Vector3 &force, bool local) |
virtual MT_Vector3 | GetLinearVelocity () |
virtual MT_Vector3 | GetAngularVelocity () |
virtual MT_Vector3 | GetVelocity (const MT_Point3 &pos) |
virtual void | SetAngularVelocity (const MT_Vector3 &ang_vel, bool local) |
virtual void | SetLinearVelocity (const MT_Vector3 &lin_vel, bool local) |
virtual void | getOrientation (MT_Quaternion &orn) |
virtual void | setOrientation (const MT_Matrix3x3 &orn) |
virtual void | setPosition (const MT_Point3 &pos) |
virtual void | setScaling (const MT_Vector3 &scaling) |
virtual void | SetTransform () |
virtual MT_Scalar | GetMass () |
virtual void | SetMass (MT_Scalar newmass) |
virtual MT_Vector3 | GetLocalInertia () |
virtual MT_Vector3 | getReactionForce () |
virtual void | setRigidBody (bool rigid) |
virtual void | AddCompoundChild (KX_IPhysicsController *child) |
virtual void | RemoveCompoundChild (KX_IPhysicsController *child) |
virtual void | resolveCombinedVelocities (float linvelX, float linvelY, float linvelZ, float angVelX, float angVelY, float angVelZ) |
virtual void | SuspendDynamics (bool ghost) |
virtual void | RestoreDynamics () |
virtual SG_Controller * | GetReplica (class SG_Node *destnode) |
virtual MT_Scalar | GetRadius () |
virtual float | GetLinVelocityMin () |
virtual void | SetLinVelocityMin (float val) |
virtual float | GetLinVelocityMax () |
virtual void | SetLinVelocityMax (float val) |
virtual void | SetSumoTransform (bool nondynaonly) |
virtual void | SetSimulatedTime (double time) |
virtual bool | Update (double time) |
void * | GetUserData () |
virtual const char * | getName () |
void | SetOption (int option, int value) |
Definition at line 15 of file KX_BulletPhysicsController.h.
virtual void KX_BulletPhysicsController::AddCompoundChild | ( | KX_IPhysicsController * | child | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::ApplyForce | ( | const MT_Vector3 & | force, |
bool | local | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::applyImpulse | ( | const MT_Point3 & | attach, |
const MT_Vector3 & | impulse | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::ApplyTorque | ( | const MT_Vector3 & | torque, |
bool | local | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual MT_Vector3 KX_BulletPhysicsController::GetAngularVelocity | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual MT_Vector3 KX_BulletPhysicsController::GetLinearVelocity | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual float KX_BulletPhysicsController::GetLinVelocityMax | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual float KX_BulletPhysicsController::GetLinVelocityMin | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual MT_Vector3 KX_BulletPhysicsController::GetLocalInertia | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual MT_Scalar KX_BulletPhysicsController::GetMass | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual const char* KX_BulletPhysicsController::getName | ( | ) | [virtual] |
Reimplemented from CcdPhysicsController.
virtual void KX_BulletPhysicsController::getOrientation | ( | MT_Quaternion & | orn | ) | [virtual] |
Implements KX_IPhysicsController.
virtual MT_Scalar KX_BulletPhysicsController::GetRadius | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual MT_Vector3 KX_BulletPhysicsController::getReactionForce | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual SG_Controller* KX_BulletPhysicsController::GetReplica | ( | class SG_Node * | destnode | ) | [virtual] |
Implements KX_IPhysicsController.
void* KX_BulletPhysicsController::GetUserData | ( | ) | [inline] |
Reimplemented from KX_IPhysicsController.
Definition at line 81 of file KX_BulletPhysicsController.h.
References KX_IPhysicsController::m_userdata.
virtual MT_Vector3 KX_BulletPhysicsController::GetVelocity | ( | const MT_Point3 & | pos | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::RelativeRotate | ( | const MT_Matrix3x3 & | drot, |
bool | local | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::RelativeTranslate | ( | const MT_Vector3 & | dloc, |
bool | local | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::RemoveCompoundChild | ( | KX_IPhysicsController * | child | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::resolveCombinedVelocities | ( | float | linvelX, |
float | linvelY, | ||
float | linvelZ, | ||
float | angVelX, | ||
float | angVelY, | ||
float | angVelZ | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::RestoreDynamics | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetAngularVelocity | ( | const MT_Vector3 & | ang_vel, |
bool | local | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetLinearVelocity | ( | const MT_Vector3 & | lin_vel, |
bool | local | ||
) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetLinVelocityMax | ( | float | val | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetLinVelocityMin | ( | float | val | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::setMargin | ( | float | collisionMargin | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetMass | ( | MT_Scalar | newmass | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetObject | ( | SG_IObject * | object | ) | [virtual] |
Implements KX_IPhysicsController.
void KX_BulletPhysicsController::SetOption | ( | int | option, |
int | value | ||
) | [inline, virtual] |
Hacky way of passing options to specific controllers
option | An integer identifying the option. |
value | The value of this option. |
Implements SG_Controller.
Definition at line 86 of file KX_BulletPhysicsController.h.
virtual void KX_BulletPhysicsController::setOrientation | ( | const MT_Matrix3x3 & | orn | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::setPosition | ( | const MT_Point3 & | pos | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::setRigidBody | ( | bool | rigid | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::setScaling | ( | const MT_Vector3 & | scaling | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetSimulatedTime | ( | double | time | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetSumoTransform | ( | bool | nondynaonly | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SetTransform | ( | ) | [virtual] |
Implements KX_IPhysicsController.
virtual void KX_BulletPhysicsController::SuspendDynamics | ( | bool | ghost | ) | [virtual] |
Implements KX_IPhysicsController.
virtual bool KX_BulletPhysicsController::Update | ( | double | time | ) | [virtual] |
Implements KX_IPhysicsController.