diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-01-27 21:06:44 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2015-01-29 00:09:58 +0300 |
commit | dd673337f1e07ea9c593b7182dbb28752da22a87 (patch) | |
tree | ce27a74aa00211891c932d986e1a05ea6f5e4249 /source/gameengine | |
parent | e5a852c3f38fc11f0cc2c8e5837a2fcd9721c9f8 (diff) |
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
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp index a7fd2e78b83..bcdc6f471ec 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, |