#include <KX_PhysicsController.h>
Inheritance diagram for KX_PhysicsController:

Public Methods | |
| KX_PhysicsController (class SM_Scene* sumoScene,class SM_Object* sumoObj,bool dyna) | |
| virtual | ~KX_PhysicsController () |
| virtual void | SetObject (SG_IObject* object) |
| void | SetSumoObject (class SM_Object* sumoObj) |
| void | SetSumoScene (class SM_Scene* sumoScene) |
| SM_Object* | GetSumoObject () |
| void | RelativeTranslate (const MT_Vector3& dloc,bool local) |
| void | RelativeRotate (const MT_Matrix3x3& drot,bool local) |
| void | ApplyTorque (const MT_Vector3& torque,bool local) |
| void | ApplyForce (const MT_Vector3& force,bool local) |
| MT_Vector3 | GetLinearVelocity () |
| MT_Vector3 | GetVelocity (const MT_Point3& pos) |
| void | SetAngularVelocity (const MT_Vector3& ang_vel,bool local) |
| void | SetLinearVelocity (const MT_Vector3& lin_vel,bool local) |
| void | SuspendDynamics () |
| void | RestoreDynamics () |
| virtual SG_Controller* | GetReplica () |
| void | SetDyna (bool isDynamic) |
| void | SetSumoTransform () |
| virtual void | SetSimulatedTime (double time) |
| virtual bool | Update (double time) |
| virtual void | do_me () |
It get's callbacks from Sumo in case a transformation change took place. Each time the scene graph get's updated, the controller get's a chance in the 'Update' method to reflect changed.
Definition at line 15 of file KX_PhysicsController.h.
|
|
Definition at line 25 of file KX_PhysicsController.h. Referenced by GetReplica(). |
|
|
Definition at line 29 of file KX_PhysicsController.h. |
|
|
Definition at line 101 of file KX_PhysicsController.cpp. Referenced by KX_GameObject::ApplyForce(). |
|
|
Definition at line 89 of file KX_PhysicsController.cpp. Referenced by KX_GameObject::ApplyTorque(). |
|
|
Definition at line 78 of file KX_PhysicsController.cpp. |
|
|
Reimplemented from SG_Controller. Definition at line 166 of file KX_PhysicsController.cpp. |
|
|
Definition at line 41 of file KX_PhysicsController.h. Referenced by KX_GameObject::GetSumoObject(). |
|
|
Definition at line 67 of file KX_PhysicsController.cpp. |
|
|
Definition at line 32 of file KX_PhysicsController.cpp. Referenced by KX_GameObject::ApplyRotation(). |
|
|
Definition at line 22 of file KX_PhysicsController.cpp. Referenced by KX_GameObject::ApplyMovement(). |
|
|
Definition at line 156 of file KX_PhysicsController.cpp. |
|
|
Definition at line 55 of file KX_PhysicsController.cpp. Referenced by KX_GameObject::setAngularVelocity(). |
|
|
Definition at line 59 of file KX_PhysicsController.h. |
|
|
Definition at line 44 of file KX_PhysicsController.cpp. Referenced by KX_GameObject::setLinearVelocity(). |
|
|
Reimplemented from SG_Controller. Definition at line 193 of file KX_PhysicsController.cpp. Referenced by KX_GameObject::RegisterSumoObject(). |
|
|
Reimplemented from SG_Controller. Definition at line 120 of file KX_PhysicsController.cpp. |
|
|
Definition at line 35 of file KX_PhysicsController.h. |
|
|
Definition at line 38 of file KX_PhysicsController.h. |
|
|
Definition at line 125 of file KX_PhysicsController.cpp. |
|
|
Definition at line 143 of file KX_PhysicsController.cpp. |
|
|
Reimplemented from SG_Controller. Definition at line 113 of file KX_PhysicsController.cpp. |
|
|
Definition at line 7 of file KX_PhysicsController.cpp. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000