forked from bartvdbraak/blender
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:
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,
|
||||
|
Loading…
Reference in New Issue
Block a user