Profile image

Somebody know what clamp01 means

4,252 Chickendude  3.0 years ago

Just kinda want to know, we all use that code often right?

  • Log in to leave a comment
  • Profile image
    4,252 Chickendude

    @jamesPLANESii oh, ok thats explain so much stuff, thanks

    3.0 years ago
  • Profile image

    @Chickendude Ah, just edited my comment :)

    3.0 years ago
  • Profile image
    4,252 Chickendude

    @jamesPLANESii whats the value for?

    3.0 years ago
  • Profile image

    Clamps a value between 0 and 1
    for example, if you use clamp01(Pitch), it won't move if you pitch up as it won't let the pitch value go below 0.

    The input is especially useful for activation groups, as by default, when they are off, their value is -1, so if you want to make the input 0 when they are off, you'll do clamp01(Activate1)

    +6 3.0 years ago