mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-20 07:45:54 +00:00
fix: timestep is not fixed by default
This commit is contained in:
@@ -260,7 +260,7 @@ void CcdPhysicsDemo::clientMoveAndDisplay()
|
||||
m_dynamicsWorld->setConstraintSolver( new OdeConstraintSolver());
|
||||
#endif //COMPARE_WITH_QUICKSTEP
|
||||
|
||||
#define FIXED_STEP 1
|
||||
//#define FIXED_STEP 1
|
||||
#ifdef FIXED_STEP
|
||||
m_dynamicsWorld->stepSimulation(1.0f/60.f,0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user