Profile image

Funky tree problem plz help

9,102 DaKraken  1.5 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 :)

    4 months ago
  • Profile image
    9,102 DaKraken

    @Lwills thanks mate

    4 months ago
  • Profile image

    YOUR DOING GOOD LAD

    5 months ago
  • Profile image
    9,102 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

    1.5 years ago
  • Profile image
    9,102 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

    1.5 years ago
  • Profile image

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

    +1 1.5 years ago