I am wondering if there is a way to control the current angle of a hinge using the program without using the sliders?

Something like:
Set (hinge rotor) angle to 90°

If so please let me know.

Tags
Question

3 Comments

  • Log in to leave a comment
  • Profile image
    11.7k KraZIvan

    I'm very new to using vizzy but one way I have controlled hinges is to assign a slider to that hinge and then program vizzy to "set slider 'x' to 'y'", and that will let you control a hinge with vizzy

    4.7 years ago
  • Profile image
    Mod sflanker

    I'm not sure if by "without using the sliders" you mean not involving them at all, or just not having to manually set them in the UI. If the former, follow AnotherFireFox's suggestion. However, if it is just the latter then the xml modification is unnecessary and you can just use the set [Slider 1] to [number] craft instruction.

    +1 4.7 years ago
  • Profile image

    You can use a variable to control the hinge rotator with some xml modding..

    Set Variable yourVariableNameHere to someValue
    and go to inputController of the part in the xml
    input=yourCommandPodNameHere.FlightProgram.yourVariableNameHere

    +1 4.7 years ago

No Upvotes

Log in in to upvote this post.