I have been trying to make an AI for some weeks now. In my Behavior Tree there is a task (picture belowe) that seets the focus to the player.
This is used so that the AI faces the player when it makes melee attacks. This works fine. However when I was fixing the turning/rotation (it’s way to “snappy”). The settings in the pawn are shown in the picture.
Now the AI will perform the task when it’s close to the player and the animation is being played but the AI will not face the player. It remains in the same rotation as it is in when the animation begin (or the task is called).
I have checked and the task is still “firing” (the focus is set to player character). Anyone with any ideas on how to fix this?