Closed GoogleCodeExporter closed 8 years ago
I've had this problem before as well with that demo. I think it is a floating
point precision problem. The forces calculated for the bodies cause them to fly
off to ininity or NaN and then the spatial hash has to add the body to a nearly
infinite number of hash cells. It doesn't seem to happen when using doubles.
The demo was contributed by a forum member that was using Chipmunk as a
platform for physics research actually. It was a cool demo which is why I
included it, but it doesn't really show off any Chipmunk features. It is also
extremely slow as calculating the interaction forces is O(n^2). I would just
say to drop that demo from the list.
Original comment by slemb...@gmail.com
on 10 Aug 2010 at 5:39
Original issue reported on code.google.com by
ricardoq...@gmail.com
on 10 Aug 2010 at 5:29