Aller au contenu principal

Recherche

How do I invert a number without 0 being inverted?

  • mmdev3 - Pablo and Rich

    Try this: Have a Slider which max value is 1 and min value is -1. Now wire it to the input Port for your Y value.

    Hover on the Port (the tab where you wire the input) and press Shift+X to cycle through several blend modes. Set it to "Wire Blend - Modulate". Its function will be clear to you with this example.

    Set the Y speed to your maximum positive number, for example 10 m/s. Now when your slider goes to 1, your Y speed will be 10 m/s. When the slider is -1, the value will be -10 m/s.

    I hope this is useful,
    Pablo

  • calabitale

    It seems I found another way, I just reversed the speed on the Y axis.

    Thanks for the help.

Vous devez vous connecter pour laisser un commentaire.