msakuta / WebGL-Orbiter

A rocket orbit simulator powered by three.js (WebGL)
MIT License
34 stars 9 forks source link

Apply timescale limit if the rocket is close enough to a celestial body #18

Open msakuta opened 4 years ago

msakuta commented 4 years ago

Even though we use Runge-Kutta method, it suffers from loss of accuracy if the rocket is too close to a gravity source. Like Kerbal Space Program, we can limit the timescale (not allow too fast scale) to avoid inaccuracy.