[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48722] trunk/blender/source/gameengine/ Physics/Bullet/CcdPhysicsController.h: Fix for [#31701] " radar causes collision" reported by Markus Rietz (afeature).

Mitchell Stokes mogurijin at gmail.com
Sun Jul 8 07:00:18 CEST 2012


Revision: 48722
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48722
Author:   moguri
Date:     2012-07-08 05:00:16 +0000 (Sun, 08 Jul 2012)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.h

Modified: trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.h
===================================================================
--- trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.h	2012-07-08 03:15:37 UTC (rev 48721)
+++ trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.h	2012-07-08 05:00:16 UTC (rev 48722)
@@ -267,6 +267,7 @@
 		m_bRigid(false),
 		m_bSoft(false),
 		m_bSensor(false),
+		m_bCharacter(false),
 		m_bGimpact(false),
 		m_collisionFilterGroup(DefaultFilter),
 		m_collisionFilterMask(AllFilter),




More information about the Bf-blender-cvs mailing list