Leg Adjustment
Create a Function: Foot Offset
Foot Offset
Input add: Bone (Rig Element Key), TraceHit(Boolean), TargetOffsetZ(float), CurrentHeight(float)
Output add: New Height (Float)
Use the value of Pelvis offset target Z, and subtract it from the Target Offset Z of the left and right feet to know the difference. In order to be more clear about whether there is a Hit, use IF node to determine it.
Use the Transform of the bone/controller and the gap value to change the direction and get the value. Set this value back to the Translation of the bone/controller.
This value is the current new height Z value.
Final Foot Offset function
Use the Foot Offset Function to set the left and right feet.
Add variables
Connect the function
Left
Right
Final connection
Result
整個專案和文件下載 / Full projects and Documents Download: https://www.patreon.com/posts/control-rig-5-2-89966351?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link
Comments