Profile image

Joystick Base Activation Group? (Solved)

11.4k iwannabeelected  1.7 years ago

Hey there,

Is there any way to disable the joystick base movement when certain AG is not active? I.e. how you would make a rotator to be active only when some AG is in use. I have two joysticks in the cabin that control different functions bound to different activation groups, and I want them to move only when the corresponding function is in use (not talking about VR capabilities right now).

Thanks

  • Log in to leave a comment
  • Profile image

    @Grob0s0VBRa ah, I see now. It does work this way. Thanks a lot!

    +1 1.7 years ago
  • Profile image
    13.1k Grob0s0VBRa

    @iwannabeelected
    You already have it.
    Pitch*clamp01(Activate7) works fine, it just needs to be placed in variable setters (the button with "(x)" ).
    Open it
    Click add Variable
    Put the function in Expression section and give it a name in a Variable Name.
    Copy that name into part input.
    Profit.

    1.7 years ago
  • Profile image

    @Grob0s0VBRa could you please provide a full code for Input. This is literally my first experience with funkytrees

    1.7 years ago
  • Profile image
    13.1k Grob0s0VBRa

    @iwannabeelected Ow
    I placed it as a variable in input.
    And it works just fine.
    Lol, placing functions as input dont work...

    1.7 years ago
  • Profile image

    So okay, I don't see any reason why the joystick would be stuck in the -1 position. The Clamp function shouldn't return that value at all.

    I also tried the IF condition Activate7 ? Pitch : Disabled, but it doesn't work either. WHYYY? Anyone?

    1.7 years ago
  • Profile image

    @Grob0s0VBRa thanks, but it doesn't seem to work. With the input Pitch*clamp01(Activate7) the joystick is just stuck in either max or min position, depending on the AG value. Am I missing something?

    1.7 years ago
  • Profile image
    13.1k Grob0s0VBRa

    something like *clamp01(AG) somewhere in the input function may help.

    +1 1.7 years ago