I have a 3D layer with its y rotation being controlled via an adjustment layer with an angle control effect and wiggle expression for random rotation. Works OK for the most part but I would like to clamp the output value so the wiggles stay within 0-85 degrees. Is this possible at all?
I tried something I found online but it returns a "must be of dimension 1, not 2" error.
You have the answer right there - no need to include the effect reference in the final statement. Variables are the value, not a statement/ parameter to the value. Just writing rClamp as the last line will do fine for this 1D property.
Might be doing something wrong here but I adjust the code and when I manually rotate the layer it stays clamped but when I add a wiggle to the next line it seems to disregard the clamp and still goes outside of the set values?