top of page
Search

[Control Rig] Unreal Engine 5.2 Control Rig 教學 - Foot IK - Leg Alignment - # 6 |腿部對齊 |Tutorial

  • Writer: Liling Liu
    Liling Liu
  • Oct 3, 2023
  • 1 min read

Leg Alignment




ree


First, go back to the Foot Trace Function that was created at the beginning to get the Hit Normal information.



Foot Trace

Input add: CurrentHitNormal (Vector)

Output add: Trace Normal (Vector)


ree


Spring Interpolate is used to smoothly move the current to Target.


ree

Final Foot Trace Function


ree

Add Variables

ree

Connect function


Left

ree

Right

ree

Connect together


ree

Create Function: Foot Rotation


Foot Offset

Input add: Bone (Rig Element Key), FloorNormal(Vector)


ree

Use Aim Math for rotation, and treat the Hit Normal value as the Target of Aim Math. Primary - Axis : X=0, Y=0, Z=1。Secondary - Axis: X=0, Y=0, Z=1, Target: X=1, Y=0, Z=0


Kind: Direction

ree

Use the bone/controller Rotation value to multiply the Aim Math Rotation value and set it back to the bone/controller Rotation value.


ree

Final Foot Rotation function


ree

Connect function


Left/Right


ree

Final Result


ree















 
 
 

Comments


CONTACT

Liling Liu

Email: liling5731@gmail.com

© 2016 - 2025 by LilingLiu. All rights preserved.

bottom of page