There's a very handy function to get the global orientation from a rotational vector relative to a vessel.
However, there doesn't seem to be an inverse of that.
Looking at the old IMS, it just used Local2Global and then Global2Local on the other vessel, which seems to work. But reading the docummentation for GlobalRot, it explicitly states that Local2Global shouldn't be used to transform rotational vectors, only positions. I assume that this is also true for the inverse operation, Global2Local.
So now I'm wondering if there's some inverse of GlobalRot, or if the transformation of rotational vectors with Local2Global doesn't pose a problem if the vector is transformed back with Global2Local and not actually used in the global context, or if there's another method I should use?
However, there doesn't seem to be an inverse of that.
Looking at the old IMS, it just used Local2Global and then Global2Local on the other vessel, which seems to work. But reading the docummentation for GlobalRot, it explicitly states that Local2Global shouldn't be used to transform rotational vectors, only positions. I assume that this is also true for the inverse operation, Global2Local.
So now I'm wondering if there's some inverse of GlobalRot, or if the transformation of rotational vectors with Local2Global doesn't pose a problem if the vector is transformed back with Global2Local and not actually used in the global context, or if there's another method I should use?