odf opened this issue on Oct 27, 2008 · 13933 posts
Aanascent posted Wed, 17 February 2010 at 12:26 PM
Ian,
There are primarily four settings you have to be concerned about in a JCM targetGeom channel (or valueParm, if you're chaining), other than the ERC controlling actor and joint.
forceLimits 1
min 0
max 1
deltaAddDelta
forceLimits causes the channel to respect max and min. Max and min control how far deltaAddDelta can go. Meaning, max and min are used to keep the morph from going too far in either direction. Sometimes we adjust max higher than 1, if it is necessary. Min is typically 0, to keep JCM from working when the joint is bent the opposite direction.
The deltaAddDelta formula is 1 / angle degrees. If you have something like a an rThigh xrot bent to -60, the calculation is 1 / -60 = -0.016667. So, set your deltaAddDelta to -0.016667 in order to have the morph reach a setting of 1.0 at -60 degrees.
If the rotation is a negative number, the deltaAddDelta will be a negative number, however, the min will still be zero and the max will still be a positive number.