Is it possible to get the CoM location in Vizzy? The only approach I can think of is analytical which would take too much time and would not be practical.
I figured it out. I have been trying to create a trimming program for Vizzy which pumps fuel either aft or forward to reduce CM (moment coefficient) to a range in which the vehicle does not rotate with minimal input. That is, trimmed. To do this I had to find the instantaneous distance of CoL and VTOL CoT between the CoM. CoL and CoT location are non-issues as they do not change in a simplified model. CoM however does. To find this distance I attached a part named CoT and CoL on their respective positions and did [ { [part {} PCI to Local {part ID of {VTOL CoT}} position]} {y} ] and [ { [part {} PCI to Local {part ID of {CoL}} position]} {y} ] then subtracted that by [ { [part {} PCI to Local { nav position } {y} ]. x seems to be the lateral axis, y the longitudinal axis, and z the vertical axis. That is for the default airplane orientation.
I figured it out. I have been trying to create a trimming program for Vizzy which pumps fuel either aft or forward to reduce CM (moment coefficient) to a range in which the vehicle does not rotate with minimal input. That is, trimmed. To do this I had to find the instantaneous distance of CoL and VTOL CoT between the CoM. CoL and CoT location are non-issues as they do not change in a simplified model. CoM however does. To find this distance I attached a part named CoT and CoL on their respective positions and did
[ { [part {} PCI to Local {part ID of {VTOL CoT}} position]} {y} ]
and[ { [part {} PCI to Local {part ID of {CoL}} position]} {y} ]
then subtracted that by[ { [part {} PCI to Local { nav position } {y} ]
.x
seems to be the lateral axis,y
the longitudinal axis, andz
the vertical axis. That is for the default airplane orientation.