After a quick glance at the documentation I wasn't able to find an answer to this question...is there a way to increase the simulation speed of the physics? For example the cubes in the pyramid demo fall pretty slowly and I'd like them to fall more quickly. Decreasing the hertz (step) time isn't a solution since it changes the behavior of the physics. Is there an function to call that magically do what I'm asking 🙂?
Increase simulation speed?
General DiscussionParagon wrote:
After a quick glance at the documentation I wasn't able to find an answer to this question...is there a way to increase the simulation speed of the physics? For example the cubes in the pyramid demo fall pretty slowly and I'd like them to fall more quickly. Decreasing the hertz (step) time isn't a solution since it changes the behavior of the physics. Is there an function to call that magically do what I'm asking 🙂?
Increase forces (ie gravity) applied to your objects, it will cause higher acceleration and higher speed of the objects (and more problems for the physics engine:D ).
The cubes are dropping at full gravity with no damping. However, the pyramid is 25 meters tall with 1 meter cubes and large objects may seem to fall slower if you zoom out.
You can make stuff fall faster by increasing gravity, but you will likely have reduced stacking stability.
You can make stuff fall faster by increasing gravity, but you will likely have reduced stacking stability.
Thanks for the suggestions. I have it simulating at the speed I want now.
Original thread: https://box2d.org/forum/viewtopic.php?t=87