Hello folks,
I am currently working on a little lua script that adds an autopilot that is capable of holding a position relative to an other spacecraft. At some point I therefore need a conversation of vectors between different coordinate systems.
In the Api_Reference of the SDK I found a VESSEL::Global2Local function that transforms given global coordinates into local ones.
Is there also a equivalent lua function? In the orbiter help I could just find oapi.global_to_equ().
Somewhere in the forums there was allready mentioned that not all functions are available.
If such a function does not exist maybe someone can give me a hint at another method to accomplish this with the given lua functionality.
Thanks in advance
I am currently working on a little lua script that adds an autopilot that is capable of holding a position relative to an other spacecraft. At some point I therefore need a conversation of vectors between different coordinate systems.
In the Api_Reference of the SDK I found a VESSEL::Global2Local function that transforms given global coordinates into local ones.
Is there also a equivalent lua function? In the orbiter help I could just find oapi.global_to_equ().
Somewhere in the forums there was allready mentioned that not all functions are available.
If such a function does not exist maybe someone can give me a hint at another method to accomplish this with the given lua functionality.
Thanks in advance