Hey,
I'm applying a force on an body. Now I fully want to cancel that impulse and reset its position.
Is there a way to reset the body? With resetting I mean:
1. cancelling any force that is on the body.
2. resetting the position.
I know how to reset the position using setPosition(), but whenever I do that, the bodies still have their original velocity and impulse.
Thanks in advance.
I'm applying a force on an body. Now I fully want to cancel that impulse and reset its position.
Is there a way to reset the body? With resetting I mean:
1. cancelling any force that is on the body.
2. resetting the position.
I know how to reset the position using setPosition(), but whenever I do that, the bodies still have their original velocity and impulse.
Thanks in advance.