From 7e990de294910cb528227cdb004414558b951890 Mon Sep 17 00:00:00 2001 From: Benoit Bolsee Date: Sat, 19 Jul 2008 10:27:52 +0000 Subject: BGE bug fix (good for 2.47): remove static-static collision messages on the console since previous SetParent fix. The physical object is set to static+ghost while the object is parented. This behavior will be made optional in a future release. The DisableDynamics actuator will also make the object static except that the ghost/non-ghost flag is preserved. --- source/gameengine/Ketsji/KX_BulletPhysicsController.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/gameengine/Ketsji/KX_BulletPhysicsController.h') diff --git a/source/gameengine/Ketsji/KX_BulletPhysicsController.h b/source/gameengine/Ketsji/KX_BulletPhysicsController.h index 6f048deb16b..3d7c7e5b030 100644 --- a/source/gameengine/Ketsji/KX_BulletPhysicsController.h +++ b/source/gameengine/Ketsji/KX_BulletPhysicsController.h @@ -9,6 +9,8 @@ class KX_BulletPhysicsController : public KX_IPhysicsController ,public CcdPhysi { private: int m_savedCollisionFlags; + short int m_savedCollisionFilterGroup; + short int m_savedCollisionFilterMask; public: KX_BulletPhysicsController (const CcdConstructionInfo& ci, bool dyna); -- cgit v1.2.3