Hi as I understand it the "fix your timestep" is doable with 2.1.0, but my game is almost complete and I don´t really want to upgrade. I have changed some things in Box2d and had to do alot of changes to my code. Is there any easy steps to get that functionality in 2.0.1 without having to upgrade for this project?
Can I do this in 2.0.1?
General DiscussionIt is quite easy. I recommend just looking at what 2.1.0 does to clear the force buffer.
Ok is it all taking place in the world.cpp? I take it the step functions differ, I´ll take a look. Thanks
Just search the code for e_clearForces.
I am with you so far, but the think I can´t find is where the forces are cleared in the 2.0.1? I don´t think I want any bodies to be cleared.
Not sure where they are cleared, but I know it is one spot, either in b2World.cpp or b2Island.cpp.
Thanks found it 🙂 it was in b2Island.cpp
Original thread: https://box2d.org/forum/viewtopic.php?t=4750