How to remove forces applied in Box2D bodies ?
Hi,
For removing the forces applied to your Box2D bodies, use the following line of code.
yourWorld->ClearForces();
Here ‘yourWorld’ is the your box2D world.
Link to this post!
Hi,
For removing the forces applied to your Box2D bodies, use the following line of code.
yourWorld->ClearForces();
Here ‘yourWorld’ is the your box2D world.