This project has moved and is read-only. For the latest updates, please go here.

Slow and Fast Motion

Aug 6, 2011 at 5:24 PM

I want to have the ability of making Slow-Motion and Fast-Motion in my game, is there an easy way of doing it?


Thanks in advance.

Aug 8, 2011 at 10:40 AM

You should be progressing the simulation with a call to "this._World.Step( dt );" or something similar. The 'dt' can be modified accordingly:

this._World.Step( dt * 0.5 ); // half-speed

this._World.Step( dt * 2 ); // double speed

this._World.Step( dt * speed_factor ); // variable speed!

Aug 8, 2011 at 4:52 PM
Edited Aug 8, 2011 at 4:58 PM

I get VERY extrange behavior and the time doesn't slow so much even using much smaller numbers. Also, Fast-motion doen't look smoth, instead it looks lagged, or like if you had akinetopsia.