I'm making a character where corrective blendShapes are driven by the bones angels. For example: if
left_thigh bone change rotation from 360 to 270 -
left_thigh_correction shape should change value from 0 to 100.
I understand, that my main action is "
get property" for taking the angle and "
set blend shape weight" for driving blends. And it works perfectly. But I'm not sure how exactly I can connect the values? For now I'm thinking about building a complex state that do actions like:
360-270 = 90; so i need some coeff to match 0..100 to 0..90, and if angle is 360 the first value should... and so on. But I'm sure there should be very simples solution to match two ranges. Any advises?