diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2014-04-24 05:39:33 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2014-04-24 05:39:33 +0400 |
commit | 8cee587bcb44b24cc17a9d6527a63d19dade4e5d (patch) | |
tree | bae00bdf6ac197296c9ea9cdacfb5918f8c3ebf3 /source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h | |
parent | 89c61b20f019766fa57835b3548c4f84d36f6214 (diff) |
BGE Cleanup: Physics conversion is now handled by PHY_IPhysicsEnvironment
The current physics conversion code was moved from
KX_ConvertPhysicsObjects to CcdPhysicsEnvironment.
Diffstat (limited to 'source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h')
-rw-r--r-- | source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h index 8b8e3f1f6d0..a94e205b160 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h +++ b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h @@ -262,6 +262,17 @@ protected: static CcdPhysicsEnvironment *Create(struct Scene *blenderscene, bool visualizePhysics); + virtual void ConvertObject(KX_GameObject* gameobj, + RAS_MeshObject* meshobj, + DerivedMesh* dm, + KX_Scene* kxscene, + PHY_ShapeProps* shapeprops, + PHY_MaterialProps* smmaterial, + PHY_IMotionState *motionstate, + int activeLayerBitInfo, + bool isCompoundChild, + bool hasCompoundChildren); + protected: |