I want to use variables to control electric motors without sliders. How can I do it, or it's impossible?

Tags
Question

4 Comments

  • Log in to leave a comment
  • Profile image

    NameOfPartThatRunsTheVizzy.FlightProgram.VariableName, Charodey explained it here. This way the input is controlled by the variable. So, for example, if the command pod/disk/chip is called CMD and your variable is called inputVar, you have to use CMD.FlightProgram.inputVar as custom input.

    12 days ago
  • Profile image

    This craft uses variables directly as input for the pistons I think, but I‘m not sure how it works. I couldn‘t get it to work on my crafts yet.

    19 days ago
  • Profile image

    Sorry if I didn't explain it well, try checking out the helicopter stock craft, and look at the input for the blades. That may help.

    one month ago
  • Profile image

    Without the funk expressions, you can use activation groups (or activate part blocks), to turn a motor on/off, but you would have to use a slider for rpm or torque input, depending on whether the throttle of the motor is governed. I don't think you can use Vizzy variables to control a motor without sliders. Edit: You can enable "advanced properties", and set the input of a motor (or other part) to things like FD.acceleration for example. I think I've seen someone do an expression in the input controller, so if you use the proper syntax, then yes it should be possible.

    one month ago

No Upvotes

Log in in to upvote this post.