Skip to main content
Participant
Oct 10, 2024 12:51 AM UTC
Question

Clamping wiggle expression

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

Dan Ebberts
Community Expert
Community Expert
Oct 10, 2024 6:10 AM UTC

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]
Translate