It works just great now! Big thanks! I also found a simple solution to the problem of stacking circles: add a small random torque at creation time.
JBox2D question
General DiscussionBBjam wrote:
Sorry to waste time, I thought that I was spessifing the upper-left and lower-right corners of the AABB with positive Y going up, what system dose box2D use?
It seems to work now 🙂
It seems to work now 🙂
Not a problem - the way AABBs are specified, the first parameter must be the minimum x and minimum y, the second one has the max x and y. I am considering adding an extra check in the constructor to take care of other cases, but I'll have to make sure this won't affect performance before putting that in.
Original thread: https://box2d.org/forum/viewtopic.php?t=1650