diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-07-08 09:00:16 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-07-08 09:00:16 +0400 |
commit | 8ce864784cc6aa5b0a5d27a5f3ef3da1240fab62 (patch) | |
tree | fff42097b781c88b4325301446496fcf714a1144 /source/gameengine/Physics/Bullet | |
parent | 1d29ee0d3b020e574a490951b99a0ba7a17dc72c (diff) |
Fix for [#31701] "radar causes collision" reported by Markus Rietz (afeature).
The problem was that the physics shapes for the near and radar sensor were getting turned into characters because CcdConstructionInfo::m_bCharacter was defaulting to true. Now it defaults to false and is explicitly set to true for only Character physics types.
Diffstat (limited to 'source/gameengine/Physics/Bullet')
-rw-r--r-- | source/gameengine/Physics/Bullet/CcdPhysicsController.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsController.h b/source/gameengine/Physics/Bullet/CcdPhysicsController.h index 09afafbe0a7..869211ffd31 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsController.h +++ b/source/gameengine/Physics/Bullet/CcdPhysicsController.h @@ -267,6 +267,7 @@ struct CcdConstructionInfo m_bRigid(false), m_bSoft(false), m_bSensor(false), + m_bCharacter(false), m_bGimpact(false), m_collisionFilterGroup(DefaultFilter), m_collisionFilterMask(AllFilter), |