The AI won't turn to face something behind it

Turn off orient rotation to movement, that’s going to conflict with any manual rotation modification. But you won’t want to manually rotate. You’ll want another boolean, ‘Use Controller Desired Rotation’ to be true. You can adjust the rotation rate to change the rotation speed. You also need the nodes ‘Set Focus’ and ‘Clear Focus’. These are for the AIController. If you set the focus to be the player, the AI will rotate to face the player. Clear focus to stop this. I actually just re-read your post, and although you are already using the focus nodes, I think you should play with them more. Maybe update the rotation speed based on if they’re strafing or not.

As for ‘isFacing’… I think your nearly equal tolerance needs to be increased. That’s a fairly low value, especially for checking if the player is inside a sword weapon arc.

1 Like