I would like to make my player character face towards the nearest enemy that is in the general direction of the player character when in melee range when doing a melee attack. Similar to God Of War 5, or Saints Row 4 melee combat.
I have tried using a raycast and rotators to pick an actor in the general direction and face it, but it isnt as smooth or dynamic and usually misses the enemy.
Im tryna make a superhero similar to project awakened and the other superpowers are going well but the melee combat feels horrible even tho its just one button.
Thnx in advance