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).remove-scene-viewer
parent
83c7b9b609
commit
4bfc2f5cde
|
@ -2658,7 +2658,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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue