Closed Rorybabory closed 4 years ago
I designed the library with a fixed time step for determinism, but you can adjust this by altering the code slightly. You can see the dt variable passed into the scene constructor. Simply modify this value.
Cool I just did that and it worked.
Nice!
I'm trying to use this physics engine for a game I'm working on but I don't know how to adjust the scene timescale based on what the fps is. Like if the fps drops down to 30, how do I make the physics do more per cycle?