I have an attribwrangle which I'm using to link a deformation to a null's x rotation.
The deformation is driven by a “painted” float attribute and used the efit() function to remap the (0,1) to (0,55) because that's the angle for null's rotation I want my deformation to reach 100%.
All is good, except apparently efit() doesn't do clamping, so if I go above rot x=55 or below 0, I also go outside 0-100% of my deformation.
I could simply avoid going outside (0,55) with my rot, but I'm wondering if there's a more elegant solution.
Thanks!
@P = lerp(@P, v@opinput1_P, f@opinput1_left_finger * efit(chf("../../RF_bone60_goal1/rx"),0,55,0,1));
