untoldwind / KontrolSystem2

Autopilot scripting system for KSP2
Other
54 stars 15 forks source link

Invert control surfaces? #85

Closed SodaPopinski closed 1 year ago

SodaPopinski commented 1 year ago

Is there anyway to invert or at lest de-activate the control surfaces?

I'm working on a Return to Landing Site script, and the tail fins do the opposite of what I need when flying backwards.

untoldwind commented 1 year ago

There currently is no binding for control surfaces. Internally there are some function that might do the trick: E.g. Module_ControlSurface.SetControlServiceInvertControlState

I will do some experiments with that

untoldwind commented 1 year ago

There is now a list of all control surfaces (vessel.control_surfaces), where invert_control can be toggled in 0.3.5 or 0.4.0.1 I did some basic testing an it seems to work as indended

SodaPopinski commented 1 year ago

Awesome!