Is it possible to implement an automatic Keplerian orbit correction function?
I mean when creating a fictional star system, it would be a huge help!
Celestia should rewrite the ssc files (if and when permitted by the user) to correct the orbital parameters.
Automatic Keplerian orbit correction?
Celestia lets you specify a Lua function to calculate an object's location or orientation. What that Lua function does is entirely up to you. It can accept keyboard input or read a file, for example. It can also modify other parameters, not just xyz coordinates. The same kinds of things can be done using an external .celx (lua) script.
For details, see https://en.wikibooks.org/wiki/Celestia/Trajectories#ScriptedOrbit
and
https://en.wikibooks.org/wiki/Celestia/Rotation_Models#ScriptedRotation
For details, see https://en.wikibooks.org/wiki/Celestia/Trajectories#ScriptedOrbit
and
https://en.wikibooks.org/wiki/Celestia/Rotation_Models#ScriptedRotation
Selden