Top Down Character Lock On System

Hey guys!

Need some help figuring out how to create a sort of target lock system for a top down/isometric style melee combat game. I’d like the player character to lock on to an enemy actor so that no matter where the player walks they will always be facing the currently selected enemy. I don’t want this to affect the camera, which will always be focused on the player character. I’ve only been able to find threads talking about locking the camera on to an actor, and mostly for third or first person.

Thanks in advance! Apologies if this has been asked before but I genuinely couldn’t find it, please direct me to the answer if it’s already available. (:

Just determine the direction to the locked enemy and rotate the character (of just the model) to that direction.