Hello jiveabillion,
It is possible in scripts to show velocity vectors for objects in Celestia, within a script.
It is however the design of Celestia, what these velocity vectors represent.
And your question, regarding the path around the galaxy is not (yet) one of the possibilities.
Objects have their orbits (or static positions) defined within Celestia (-addons) configuration files.
The velocity vector that can be shown within a script, represents the direction an object is moving in these pre-defined orbits.
It is even possible to give a vector a size, which may be determined/calculated as the result of its current velocity within its orbit.
All this can be done with the object:addreferencemark() / object:removereferencemark() CELX methods.
See:
http://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods/Celx_object#addreferencemarkhttp://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods/Celx_object#removereferencemarkfor more detail explenation of these scripting methods.
Example:
Code: Select all
moon=celestia:find("Sol/Earth/Moon")
refmarktable5={}
refmarktable5.type = "velocity vector"
refmarktable5.size = 2000
refmarktable5.color = "green"
refmarktable5.opacity = 1.0
refmarktable5.tag = "Speedvector"
moon:addreferencemark(refmarktable5)
wait(10)
moon:removereferencemark(refmarktable5.tag)