-
Xpresso Clamp Forgetfulness
Hi,
It’s been awhile since I wrote any expresso and now I’ve gone and forgotten how to do a simple clamp!My scene has a sphere whose y position also moves the rotation p of another object. This works great.
Now I’m trying to clamp the sphere’s y position to between 0 and 146 units. So I have two constant nodes, 1 set to ‘0’ and the other set to ‘146.’ Then I have them connected to the ‘lower’ and ‘upper’ ports of the clamp node. Then I connect the right hand side port to the position.y port on the sphere’s node. No worky.
Embarassed in my forgetfulness.