sticky bodies

Hi

I am making a world with zero gravity, no friction and full restitution for all bodies. Instead of getting perpetual movement, my dynamic bodies get stuck to the static walls instead of bouncing.

It happens at very low velocities.
I searched for this problem on general Box2D forums and I found that the solution is to change the b2_belocityThreashold global variable. Its default value and it says that any collision at a relative velocity below 1m/s will be inelastic.

In JBox2D, the Java version is org.jbox2d.common.Settings.velocityThreshold, but unfortunately it is defined final, meaning i can't change it.
Is there something I miss, some global function to disable this threshold ?

In the mean time I'm preparing a patch...
OK, we can close this one, since Daniel Murphy just committed a change where all the Settings are now non-final.
Thanks, Daniel

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