Make a aim sight using FABRIK note.
Hi Iam try to build a aiming functionality inside my fps character. The Idea is to use an FABRIK node to place my hand_r
in front of the camera plus an offset of the iron sight on top of the weapon.
Inside my UAnimInstance
implementation I calculate the CameraTransform:
CameraTransform = FTransform(Character->GetBaseAimRotation(), Character->Camera->GetComponentLocation());
I got also the Offset between hand_r
and the sight:
RHandToSightsTransform = CurrentWeapon->GetSightsWorldTransform().GetRelativeTransform(Mesh->GetSocketTransform(FName("hand_r")));
But I have no glue how to configure the FABRIK Node / or Transform bone.
E.g
Places the Weapon root directly on the camera which is fine:
Can anybody give me a short advice how to solve the issue?