Jump to content

C# Code for Controlling Wheels


Recommended Posts

So I was working on my first mod, and I realized that I can't figure out how to use wheels. I've tested it out and it's not pitch, yaw or roll or any of the translation control. How can I manipulate wheels in my code? Thanks!

Link to comment
Share on other sites

Are you looking to control in an autopilot way, or looking for the control inputs from the rover control keybindings?

I think the second is more of what I want. I thought they would be the same though, like pitch, yaw and roll.

Link to comment
Share on other sites

  • 3 years later...
On 8/24/2015 at 3:00 AM, lo-fi said:

You are looking for:

this.vessel.ctrlState.wheelThrottle

this.vessel.ctrlState.wheelSteer

There are similarly named trims too.

I'd like to add that you have to use the trim fields to override the controls for the actuators. The regular fields only seem to indicate the user input. See sarbian's post.

Edited by Hydrawx
Link to comment
Share on other sites

On 11/18/2018 at 2:37 AM, Hydrawx said:

I'd like to add that you have to use the trim fields to override the controls for the actuators. The regular fields only seem to indicate the user input.

As I explained in my other post that it is not the case.

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...