Profile image

Funky tree problem plz help

9,389 DaKraken  2.2 years ago

sum(Pitch)

how do i limit the code above so that it stops adding when for example its less than -1 and more than 2

Because idk how to limit it.

if some funky tree guru can help that would be cool

  • Log in to leave a comment
  • Profile image

    @DaKraken ur welcome :)

    one year ago
  • Profile image
    9,389 DaKraken

    @Lwills thanks mate

    one year ago
  • Profile image

    YOUR DOING GOOD LAD

    one year ago
  • Profile image
    9,389 DaKraken

    @HuskyDynamics01 what i mean is clamp just limits rotator from -1 to 2, i want sum to stop summing up when it gets to -1 or 2, its diffrent

    2.2 years ago
  • Profile image
    9,389 DaKraken

    @HuskyDynamics01 you dont get it, i already know how to limit rotator with clamp but what i mean is how do i get sum(pitch) to stop summing up at more than 2 and less than _1, i already tried that but sum(pitch) keeps counting more than that, try that in a rotator and yes it will stop at 2 degrees but sum(pitch) will keep counting more, try it in game and u will get it i promise

    2.2 years ago
  • Profile image

    clamp(sum(Pitch),-1,2)

    +1 2.2 years ago