This is a slightly upgraded version of the physics demo I showed in my last post.
It is still…
This version has:
- pre-defined initial states
It still has the “clinging” bug. I know how to fix it, but didn’t deem it important enough to spend time on it. :)
The code is well commented, so feel free to hack on it.
Click on one of the initial states to begin the simulation.
Choose an initial state:
velocity sum: NONE x velocity sum: NONE y velocity sum: NONE
(The POOL initial state reproduces the clinging bug.)