Clear forces now necessary or not? Confused :(

Hi Guys,

I'm using the jbox2d java port for my android game project and would like to drag a ball with a finger over a top-down board (no gravity).
Now, I got everything working (well, kind of), though I'm having difficulties with forces.
Specifically, I have the problem that I'm not sure if forces or impulses are really cleared after calling a step() or if I have to call clearForces() manually.
I have the impression that forces are not cleared, but this may just be my observation.

I have read the following forum posts:

viewtopic.php?f=8&t=8984
http://blog.allanbishop.com/box2d-2-1a-tutorial-part-1/
http://www.box2d.org/forum/viewtopic.php?f=8&t=7278
http://www.cocos2d-iphone.org/forums/to ... -in-box2d/

In some posts the posters mention that since box2d 2.1 one does not have to clear forces after a step(). In others they mention that it has to be done manually:

"The ClearForces function is needed to clear all of the forces that were added before or during the Step function. If the ClearForces function is not called, whatever forces that were done in the last iteration will be carried over to the next iteration (and will continue to compound if ClearForces is never called)."

But I'm not sure how this is implemented in Jbox2d? Is it the same?

Thanks

Original thread: https://box2d.org/forum/viewtopic.php?t=9444