Skip to main content
Participant
October 10, 2024
Question

Clamping wiggle expression

  • October 10, 2024
  • 1 reply
  • 198 views

z = wiggle (1,80);
y = value[1]+z[1];
b =clamp(y,20,120);

[value[0],b];

 

such expression does not work for the object.
what to do?

This topic has been closed for replies.

1 reply

Dan Ebberts
Community Expert
Community Expert
October 10, 2024

I'm not sure what you're after, but maybe this?

y = (wiggle (1,80)-value)[1];
b =clamp(y,20,120);
value + [0,b]