- added linear limits to btGeneric6DofConstraint and made sure the linear axis are in local space of objectA

- use microseconds instead of milliseconds for deltatime
This commit is contained in:
ejcoumans committed 2006-11-07 02:32:52 +00:00
1 parent 074e2b2d3b
commit c3ed55057c
12 files changed
+163 -39

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ void BspDemo::clientMoveAndDisplay()
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
float dt = m_clock.getTimeMilliseconds() * 0.001f;
float dt = m_clock.getTimeMicroseconds() * 0.000001f;
m_clock.reset();
m_dynamicsWorld->stepSimulation(dt);