Space.Update(float) in 0.16.0
Posted: Sat Jul 02, 2011 11:19 am
Hi,
I upgraded from v0.15 to v0.16 for Windows Phone and now my physics world seems to update more slowly. I have set space.TimeStepSettings.TimeStepDuration = 1 / 60f; When I call
space.Update((float)gameTime.ElapsedGameTime.TotalSeconds);
i think only one timestep is occurring instead of as many as required for the specified time interval which should be 2 in my case. Is it a bug? Can I just call Update() twice to compensate with no side-effects or performance problem?
Thanks
I upgraded from v0.15 to v0.16 for Windows Phone and now my physics world seems to update more slowly. I have set space.TimeStepSettings.TimeStepDuration = 1 / 60f; When I call
space.Update((float)gameTime.ElapsedGameTime.TotalSeconds);
i think only one timestep is occurring instead of as many as required for the specified time interval which should be 2 in my case. Is it a bug? Can I just call Update() twice to compensate with no side-effects or performance problem?
Thanks