top of page
Search
Writer's pictureLiling Liu

[Control Rig] Unreal Engine 5.2 Control Rig 教學 - Foot IK - Leg Adjustment - # 5 |腿部調整 |Tutorial



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

















7 views0 comments

Comments


bottom of page