Step 1: Add Component to Your Character
- Open Your Character Blueprint:
- In the Content Browser, find and open your character blueprint (e.g.,
MyCharacter_BP
).
- Add a Component:
- In the Components panel, click Add Component and select the appropriate component WeponIK.
Step 2: Write Relevant IK Socket Name and BoneSpaceName
- Character Settings:
- With your character blueprint select component and go to the Details pannel.
IK Settings:
- IK socket name**
IKSocketName
**
- bone space name
BoneSpaceName
.
- Assign Values:
- Assign the appropriate values to these variables. For instance:
IKSocketName
> IK_ue4
. IK
. ( place different anme per skeleton type)
BoneSpaceName
> hand_r
.
Step 3: Open Your Weapon Mesh and Place Left Hand IK Socket
-
Open Weapon Mesh:
- In the Content Browser, find and open the weapon skeletal mesh (e.g.,
MyWeapon_Skeletal/staticMesh
).
-
Add Socket:
Name the socket IK
.
you should add differnt socket per differnt skeleton IK_ue4 etcc
-
Position the Socket:
- Adjust the socket’s position and rotation
Step 4: Add FABRIK Node in Animation Blueprint
see ABP sample in public folder.
.
VideoTutorialSoon