diff options
Diffstat (limited to 'source/gameengine/Physics/Dummy')
-rw-r--r-- | source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h b/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h index c06a8d904b2..a645af1e471 100644 --- a/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h +++ b/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h @@ -33,6 +33,7 @@ #define __DUMMYPHYSICSENVIRONMENT_H__ #include "PHY_IPhysicsEnvironment.h" +#include "PHY_IMotionState.h" /** * DummyPhysicsEnvironment is an empty placeholder @@ -108,6 +109,20 @@ public: // Dummy, nothing to do here } + 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) + { + // All we need to do is handle the motionstate (we're supposed to own it) + delete motionstate; + } #ifdef WITH_CXX_GUARDEDALLOC MEM_CXX_CLASS_ALLOC_FUNCS("GE:DummyPhysicsEnvironment") |