Hy, when you start AttractorTest, shoot some of the boxes far away and after that press the return-key to activate the Attractor, some of the boxes that are inside the Attractor radius are not affected by the Attractor any more.
The method beforeStep() of Attractor has a for-loop for all the DynamicPhysicsObjects and tests whether the distance to the Attractor is greater than the radius of the Attractor and in case of this, it leaves the method. I think this makes only sence, if the DynamicPhysicsObjects would be sorted by their distance to the Attractor, but they aren't. Here is the source:
public void beforeStep() {
Thanks! Fixed and committed.
And thanks for finding out the solution on you own! We like that