only update aabb of active objects, thanks Peter Tchernev for reporting (http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1764 )
move debug aabb rendering from updateAabb to debugDrawWorld
This commit is contained in:
@@ -598,6 +598,10 @@ void GimpactConcaveDemo::clientMoveAndDisplay()
|
||||
|
||||
m_clock.reset();
|
||||
m_dynamicsWorld->stepSimulation(dt);
|
||||
|
||||
//optional but useful: debug drawing
|
||||
m_dynamicsWorld->debugDrawWorld();
|
||||
|
||||
m_steps_done++;
|
||||
|
||||
//m_dynamicsWorld->stepSimulation(dts);
|
||||
|
||||
Reference in New Issue
Block a user