Change hardcoded ODE total frame time to match the default total frame time (0.09375 -> 0.089).

No apparant ill effects - because the default stepsize is 0.2, there are still 5 physics steps per physics frame.
This is a precursor to using the elapsed value passed in (and now changeable in config).
0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-10-14 21:07:57 +01:00
parent f93635fe85
commit 14bddb6af9
1 changed files with 1 additions and 1 deletions

View File

@ -2660,7 +2660,7 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
// HACK: Using a time dilation of 1.0 to debug rubberbanding issues
//m_timeDilation = Math.Min((step_time / ODE_STEPSIZE) / (0.09375f / ODE_STEPSIZE), 1.0f);
step_time = 0.09375f;
step_time = 0.089f;
while (step_time > 0.0f)
{