javascript - PhysicsJS - spinning aggregates of newtonian bodies -


i've been playing physicsjs , noticed odd behavior bodies attract each other using 'newtonian' behavior.

one example of behavior on "newton's revenge" demo. @ first, bodies start glom expected. however, once lots of them have collected in 1 aggregation, whole thing begins spin faster , faster. centrifugal force dominates gravity , fly apart.

any ideas why happens? seems break conservation of energy/angular momentum. maybe related this issue bodies in contact 1 being unstable?

assuming hard-to-fix bug in physicsjs, there easy workaround prevent happening?


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -