Adding a spacecraft dynamically in Lua script
Posted: 18.10.2018, 18:20
I have a working Lua script but I want to add a new spacecraft to the scene. I want to add several spacecrafts and there states using the accessors similar to celestia:newframe("universal")
After adding the spacecraft to the scene, I want to update the states from inside the Lua script.
Is this possible? Are there any good examples of this spacecraft addition from inside the Lua script?
After adding the spacecraft to the scene, I want to update the states from inside the Lua script.
Is this possible? Are there any good examples of this spacecraft addition from inside the Lua script?