Jump to content

How do I toggle RCS and SAS from within a part?


Recommended Posts

hi,

im developing a small little control plugin for fun and to learn a bit of c sharp.

How do I toggle RCS and SAS? Is there a place in FlightInputHandler that I can adjust these? Right now I've just been adjusting pitch yaw roll throttle, etc from within FlightInputHandler and am trying to expand a bit.

Link to comment
Share on other sites

hi,

im developing a small little control plugin for fun and to learn a bit of c sharp.

How do I toggle RCS and SAS? Is there a place in FlightInputHandler that I can adjust these? Right now I've just been adjusting pitch yaw roll throttle, etc from within FlightInputHandler and am trying to expand a bit.

You can do a lot of stuff with the action groups. for example, toggling SAS could be done by:

vessel.ActionGroups.ToggleGroup(KSPActionGroup.SAS);

or turning off RCS:

vessel.ActionGroups.SetGroup(KSPActionGroup.RCS, false);

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...