top of page
搜尋

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

  • 作家相片: Liling Liu
    Liling Liu
  • 2023年10月3日
  • 讀畢需時 1 分鐘


Leg Adjustment 腿部調整


ree

創建一個Function: Foot Offset


Foot Offset

Input add: Bone (Rig Element Key), TraceHit(Boolean), TargetOffsetZ(float), CurrentHeight(float)

Output add: New Height (Float)


ree

使用剛剛已經得知Pelvis offset target Z 的值,跟左右腳的Target Offset Z來做相減就能知道差距多少。為了更明確是否有Hit的,這邊使用IF來判定。


ree

使用骨頭/控制器的Transform與差距值做變化方向並得到值,將這個值設定回去給骨頭/控制器的Translation。


這個差距值就是目前新的高度Z值


ree

最終的 Foot Offset


ree

將剛剛製作好的 Foot Offset Function,進行左右腳設定


先在Variables 新增變數


ree

再將剛剛的Fucntion節點連結上


左腳

ree

右腳

ree

最後是這樣


ree

呈現結果



ree














 
 
 

留言


CONTACT

Liling Liu

Email: liling5731@gmail.com

© 2016 - 2025 by LilingLiu. All rights preserved.

bottom of page