#include <KX_GameObject.h>
Inheritance diagram for KX_GameObject:
Public Methods | |
KX_GameObject (void* sgReplicationInfo,SG_Callbacks callbacks,PyTypeObject* T=&Type) | |
virtual | ~KX_GameObject () |
virtual CValue* | AddRef () |
virtual CValue* | Calc (VALUE_OPERATOR op, CValue *val) |
virtual CValue* | CalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val) |
virtual const CCString& | GetText () |
virtual float | GetNumber () |
virtual CCString | GetName () |
virtual void | SetName (CCString name) |
virtual void | ReplicaSetName (CCString name) |
virtual CValue* | GetReplica () |
void | RelativeTransform (const MT_Transform& trans) |
virtual void | RegisterSumoObject (class SM_Scene* sumoScene,class SM_Object* sumoObj,const char* matname,bool isDynamic,bool isActor,bool addghost) |
SM_Object* | GetSumoObject () |
void | NodeSetLocalPosition (const MT_Point3& trans) |
void | NodeSetLocalOrientation (const MT_Matrix3x3& rot) |
void | NodeSetLocalScale (const MT_Vector3& scale) |
void | NodeUpdateGS (double time,bool bInitiator) |
const MT_Matrix3x3& | NodeGetWorldOrientation () const |
const MT_Vector3& | NodeGetWorldScaling () const |
const MT_Point3& | NodeGetWorldPosition () const |
void | NodeAddChild (class SG_Spatial* child) |
void | NodeSetVertexParent (bool isvertexparent) |
SG_Node* | GetSGNode () |
void | SetSGNode (SG_Node* node) |
const SG_Node* | GetSGNode () const |
bool | IsDynamic () |
bool | IsInLayer () |
void | ApplyForce (const MT_Vector3& force,bool local) |
void | ApplyTorque (const MT_Vector3& torque,bool local) |
void | ApplyRotation (const MT_Vector3& drot,bool local) |
void | ApplyMovement (const MT_Vector3& dloc,bool local) |
<<<<<<<KX_GameObject.h=======>>>>>> MT_Matrix3x3 | RotateWorld (const MT_Vector3& v, MT_Scalar angle) |
<<<<<<<KX_GameObject.h=======>>>>>> void | Bucketize () |
void | RemoveMeshes () |
void | AddMesh (RAS_MeshObject* mesh) |
RAS_MeshObject* | GetMesh (int num) |
int | GetMeshCount () |
void | SetMeshScaling (const MT_Vector3& scale) |
<<<<<<<KX_GameObject.h=======>>>>>> void | SetDynamicsScaling (const MT_Vector3& scale) |
const MT_Vector3& | GetDynamicScaling () const |
void | UpdateTransform (bool i_am_ipo = true) |
void | UpdateIPO (float curframetime) |
void | SetSumoMotionState () |
void | SetDebugColor (unsigned int bgra) |
void | ResetDebugColor () |
void | MarkVisible (bool visible) |
virtual PyObject* | _getattr (char *attr) |
PyObject* | PySetPosition (PyObject* self, PyObject* args, PyObject* kwds) |
KX_PYMETHOD (KX_GameObject,GetPosition) | |
KX_PYMETHOD (KX_GameObject,GetLinearVelocity) | |
KX_PYMETHOD (KX_GameObject,GetVelocity) | |
KX_PYMETHOD (KX_GameObject,GetMass) | |
KX_PYMETHOD (KX_GameObject,GetReactionForce) | |
KX_PYMETHOD (KX_GameObject,GetOrientation) | |
KX_PYMETHOD (KX_GameObject,SetOrientation) | |
KX_PYMETHOD (KX_GameObject,SetVisible) | |
KX_PYMETHOD (KX_GameObject,SuspendDynamics) | |
KX_PYMETHOD (KX_GameObject,RestoreDynamics) | |
virtual void | setLinearVelocity (const MT_Vector3& lin_vel,bool local) |
virtual void | setAngularVelocity (const MT_Vector3& ang_vel,bool local) |
Static Public Methods | |
PyObject* | sPySetPosition (PyObject* self, PyObject* args, PyObject* kwds) |
Protected Methods | |
double* | GetOpenGLMatrix () |
GetOpenGL Matrix, returns an OpenGL 'compatible' matrix. More... | |
Protected Attributes | |
CMatrix4x4 | m_OpenGL_4x4Matrix |
|
Definition at line 64 of file KX_GameObject.cpp. Referenced by GetReplica(). |
|
Definition at line 77 of file KX_GameObject.cpp. |
|
Definition at line 142 of file KX_GameObject.h. Referenced by BL_ConvertBlenderObjects(), CreateGameObject(), and KX_Scene::ReplaceMesh(). |
|
Reimplemented from CValue. Definition at line 55 of file KX_GameObject.h. Referenced by KX_Scene::AddReplicaObject(), BL_ConvertBlenderObjects(), KX_TouchSensor::HandleCollision(), and KX_NearSensor::HandleCollision(). |
|
Definition at line 166 of file KX_GameObject.cpp. Referenced by CForceAction::Execute(). |
|
Definition at line 185 of file KX_GameObject.cpp. Referenced by CMoveAction::Execute(). |
|
Definition at line 201 of file KX_GameObject.cpp. Referenced by CRotateAction::Execute(). |
|
Definition at line 177 of file KX_GameObject.cpp. Referenced by CTorqueAction::Execute(). |
|
Definition at line 236 of file KX_GameObject.cpp. Referenced by BL_ConvertBlenderObjects(), CreateGameObject(), ExampleEngine::MainLoopCallback(), and KX_Scene::ReplaceMesh(). |
|
Reimplemented from CValue. Definition at line 87 of file KX_GameObject.cpp. |
|
Reimplemented from CValue. Definition at line 93 of file KX_GameObject.cpp. |
|
Definition at line 160 of file KX_GameObject.h. |
|
Definition at line 146 of file KX_GameObject.h. Referenced by BL_ConvertBlenderObjects(), and KX_Scene::CalculateVisibleMeshes(). |
|
Definition at line 147 of file KX_GameObject.h. Referenced by BL_ConvertBlenderObjects(), and KX_Scene::CalculateVisibleMeshes(). |
|
Reimplemented from CValue. Definition at line 108 of file KX_GameObject.cpp. Referenced by BL_ConvertActuators(), and BL_ConvertBlenderObjects(). |
|
Reimplemented from CValue. Definition at line 103 of file KX_GameObject.cpp. |
|
GetOpenGL Matrix, returns an OpenGL 'compatible' matrix.
Definition at line 223 of file KX_GameObject.cpp. Referenced by Bucketize(), MarkVisible(), and RemoveMeshes(). |
|
Reimplemented from CValue. Definition at line 133 of file KX_GameObject.cpp. Referenced by KX_Scene::AddNodeReplicaObject(). |
|
Definition at line 98 of file KX_GameObject.h. |
|
Definition at line 89 of file KX_GameObject.h. Referenced by KX_Scene::AddNodeReplicaObject(), KX_Scene::AddReplicaObject(), ApplyMovement(), ApplyRotation(), BL_ConvertBlenderObjects(), BL_ConvertIpos(), GetOpenGLMatrix(), NodeAddChild(), NodeGetWorldOrientation(), NodeGetWorldPosition(), NodeGetWorldScaling(), NodeSetLocalOrientation(), NodeSetLocalPosition(), NodeSetLocalScale(), NodeSetVertexParent(), NodeUpdateGS(), RegisterSumoObject(), KX_Scene::RemoveObject(), and UpdateIPO(). |
|
Definition at line 123 of file KX_GameObject.cpp. Referenced by KX_Scene::AddReplicaObject(), BL_CreateSumoObjectNew(), and KX_Scene::NewRemoveObject(). |
|
Reimplemented from CValue. Definition at line 98 of file KX_GameObject.cpp. |
|
Definition at line 104 of file KX_GameObject.h. Referenced by ApplyMovement(), and ApplyRotation(). |
|
Definition at line 107 of file KX_GameObject.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 342 of file KX_GameObject.cpp. Referenced by KX_Scene::CalculateVisibleMeshes(), CreateGameObject(), and ExampleEngine::MainLoopCallback(). |
|
Definition at line 720 of file KX_GameObject.cpp. Referenced by BL_ConvertBlenderObjects(). |
|
Definition at line 706 of file KX_GameObject.cpp. Referenced by KX_Camera::GetWorldToCamera(), KX_TrackToActuator::Update(), KX_ConstraintActuator::Update(), and KX_CameraActuator::Update(). |
|
Definition at line 716 of file KX_GameObject.cpp. Referenced by KX_Camera::GetWorldToCamera(), ExampleEngine::MainLoopCallback(), KX_TrackToActuator::Update(), KX_ConstraintActuator::Update(), and KX_CameraActuator::Update(). |
|
Definition at line 711 of file KX_GameObject.cpp. |
|
Definition at line 692 of file KX_GameObject.cpp. Referenced by KX_Scene::AddReplicaObject(), BL_ConvertBlenderObjects(), ExampleEngine::Init(), KX_TrackToActuator::Update(), KX_ConstraintActuator::Update(), and KX_CameraActuator::Update(). |
|
Definition at line 687 of file KX_GameObject.cpp. Referenced by KX_Scene::AddReplicaObject(), BL_ConvertBlenderObjects(), ExampleEngine::Init(), PySetPosition(), KX_ConstraintActuator::Update(), and KX_CameraActuator::Update(). |
|
Definition at line 697 of file KX_GameObject.cpp. Referenced by BL_ConvertBlenderObjects(). |
|
Definition at line 683 of file KX_GameObject.cpp. |
|
Definition at line 701 of file KX_GameObject.cpp. Referenced by BL_ConvertBlenderObjects(), CreateGameObject(), ExampleEngine::Init(), and ExampleEngine::MainLoopCallback(). |
|
Definition at line 176 of file KX_GameObject.h. |
|
Definition at line 318 of file KX_GameObject.cpp. Referenced by BL_CreateSumoObjectNew(). |
|
|
|
Definition at line 247 of file KX_GameObject.cpp. Referenced by KX_Scene::NewRemoveObject(), and KX_Scene::ReplaceMesh(). |
|
Reimplemented from CValue. Definition at line 118 of file KX_GameObject.cpp. |
|
Definition at line 292 of file KX_GameObject.cpp. |
|
Definition at line 123 of file KX_GameObject.h. |
|
Definition at line 284 of file KX_GameObject.cpp. Referenced by ResetDebugColor(). |
|
Definition at line 157 of file KX_GameObject.h. |
|
Definition at line 149 of file KX_GameObject.h. |
|
Reimplemented from CValue. Definition at line 113 of file KX_GameObject.cpp. Referenced by BL_ConvertBlenderObjects(). |
|
Definition at line 93 of file KX_GameObject.h. |
|
Definition at line 307 of file KX_GameObject.cpp. |
|
Definition at line 297 of file KX_GameObject.cpp. Referenced by CIpoAction::Execute(). |
|
Referenced by BL_CreateSumoObjectNew(), CreateGameObject(), and UpdateIPO(). |
|
Reimplemented from SCA_IObject. Definition at line 57 of file KX_GameObject.cpp. |
|
Definition at line 228 of file KX_GameObject.h. |
|
Definition at line 359 of file KX_GameObject.cpp. Referenced by CAngularVelocityAction::Execute(). |
|
Definition at line 351 of file KX_GameObject.cpp. Referenced by CLinearVelocityAction::Execute(). |
|
Definition at line 49 of file KX_GameObject.h. |