Aim at player using control rig

Hello Everyone. I wanted to know how my ai character can properly aim at the player using control rig. At current it only shoots straight which doesn’t help when the player is above or below the enemy

Hey @tanush_23!

Here is a great non-Epic affiliated video on how to do just that:

UE5 Control Rig | Aim/Look_At IK | #P1 | Setup Aim_Node

I hope the above solution works for you!

1 Like

Actually I am confused about what to do after that

you make that control rig like in the video, then you can add control rig node to animation blueprint, and in details panel of the node you can select the control rig class you just made and you will see that you can expose the control transform (by clicking on the check box next to its name). at that point you can use a variable that has the location you want AI to look at.