Commit: dd673337f1e07ea9c593b7182dbb28752da22a87 Author: Sybren A. Stüvel Date: Tue Jan 27 19:06:44 2015 +0100 Branches: master https://developer.blender.org/rBdd673337f1e07ea9c593b7182dbb28752da22a87
BGE: draw contact points + normals in yellow Red was used with different semantics in the physics visualisation, switching to yellow to prevent confusion. A screenshot can be found at http://www.pasteall.org/pic/80766 -- it's the yellow balls + lines. Reviewers: brita_, lordloki, campbellbarton Reviewed By: lordloki, campbellbarton Subscribers: lordloki Projects: #game_physics Differential Revision: https://developer.blender.org/D925 =================================================================== M source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp =================================================================== diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp index a7fd2e7..bcdc6f4 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp +++ b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp @@ -2271,7 +2271,7 @@ void CcdPhysicsEnvironment::CallbackTriggers() { for (int j=0;j<numContacts;j++) { - btVector3 color(1,0,0); + btVector3 color(1,1,0); const btManifoldPoint& cp = manifold->getContactPoint(j); m_debugDrawer->drawContactPoint(cp.m_positionWorldOnB, cp.m_normalWorldOnB, _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs