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
This commit is contained in:
Sybren A. Stüvel 2015-01-27 19:06:44 +01:00
parent e5a852c3f3
commit dd673337f1

@ -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,