Closed GoogleCodeExporter closed 8 years ago
hmmmmmm looks like the original engine exhibits this behavior as well.
Probably due to floating point. If you're having issues with this, then I
would try setting the restitution to something slightly below 1.
Feel free to file this bug under the main box2d project, but if the issues are
coming from floating point calculations like I suspect, then there really isn't
a fix for this.
Original comment by toucansa...@gmail.com
on 6 Aug 2011 at 5:31
This behavior isn't always present. For example, it is not in the demo on
JBox2d's website.
http://www.jbox2d.org/v2demos/index.html
I believe the version in the demo is 2.0. If it is , then the behavior is
introduced in 2.1.
Original comment by seraphth...@gmail.com
on 10 Aug 2011 at 8:37
Did a test by converting all the floats to doubles in the engine. The behavior
still remains. I doubt it is due to floating point rounding since the variation
is rather pretty large and visible.
Original comment by seraphth...@gmail.com
on 10 Aug 2011 at 8:41
Original issue reported on code.google.com by
seraphth...@gmail.com
on 4 Aug 2011 at 1:44