Different behavior with different framerate

Topics: Developer Forum
Feb 3, 2011 at 4:16 PM


Im using Body.ApplyLinearImpulse(Vector2 impulse); to shot a body in my world. When i use the the Phone emulator under Windows (55 - 60 fps) everything seems to work fine. If i try it with my Phone (25- 30fps) they body doesn't fly the same distance its seems to be only half the distance as before. What do i wrong? I guess it has to do something with the timesteps? Hopefully I gave enough information to solve the problem!

Feb 3, 2011 at 4:18 PM

Run your physics simulation with a fixed timestep.