GLXY icon indicating copy to clipboard operation
GLXY copied to clipboard

Particles accelerate away from clusters

Open gjengis opened this issue 10 years ago • 2 comments

When particles form clusters they always start accelerating until the clusters are thrown apart. This is contrary to the expected which is that the cluster stay together without accelerating.

gjengis avatar Jul 28 '14 12:07 gjengis

This seems to be an error in the gravity code in the method updateParticles() in the Universe.java file.

gjengis avatar Jul 28 '14 12:07 gjengis

If you're able to fix the error in the gravity code feel free to send a pull request and I'll merge it in.

KaeruCT avatar Oct 31 '14 19:10 KaeruCT