TechnicJelle / SolarSystem

A solar system simulation environment where you can play around with planets, suns, gravity and orbits
Mozilla Public License 2.0
2 stars 3 forks source link

Added Roche Limit #25

Closed EV4g closed 3 years ago

EV4g commented 3 years ago

Added the Roche limit to make sure objects explode once their gravity can't compete with the sun's tidal forces. Also moved the explode code to a function so it can in the future be called from other places aswell.