diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-07-19 14:27:52 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-07-19 14:27:52 +0400 |
commit | 7e990de294910cb528227cdb004414558b951890 (patch) | |
tree | d3818b5cb9a99fbeed9244e213f608bfa2d61762 /source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h | |
parent | 9ed079bf5cbe8a5a371190a8dedec970bcbd3ac2 (diff) |
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.
Diffstat (limited to 'source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h')
-rw-r--r-- | source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h index 9f14cf6cbef..dff17517b85 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h +++ b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h @@ -183,6 +183,8 @@ protected: void removeCcdPhysicsController(CcdPhysicsController* ctrl); + void updateCcdPhysicsController(CcdPhysicsController* ctrl, int newCollisionFlags, short int newCollisionGroup, short int newCollisionMask); + btBroadphaseInterface* getBroadphase(); |