GLXY
GLXY copied to clipboard
Particles accelerate away from clusters
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.
This seems to be an error in the gravity code in the method updateParticles() in the Universe.java file.
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.