Is there a ShiftCG or ShiftCentreofMass capability in Lua? I saw a link to Shift_CentreofMass in the Help files but it doesn't link to anything.
EDIT: Below is an image that shows where these are found in the Orbiter Help dialogue, under Orbiter Scripting / Class Methods / Vessel Methods. The hypertext links don't connect to anything and so I don't know if these are actually implemented, and there is nothing saying how to use them. I tried:
and
but in either case the script crashes Orbiter, and I can't think of how else these would be implemented.
EDIT: Below is an image that shows where these are found in the Orbiter Help dialogue, under Orbiter Scripting / Class Methods / Vessel Methods. The hypertext links don't connect to anything and so I don't know if these are actually implemented, and there is nothing saying how to use them. I tried:
Code:
vi:shift_centreofmass({1,2,3})
Code:
vi:shift_cg({1,2,3})
Last edited: