Focus a Enemy in Combat with Mouse

Hi guys, :slight_smile:

currently i tried to create a focus mouse system for the combat system. The Basic i like this:

My idea is: If Pawn <= “Max.Distance” & Mouse over the Enemy = set “AroundEnemy” true.

The “AroundEnemy” constraint the A/D Movement(GetRightVector) to only Around the Enemy.

I started with the default 3rd Person Template, the “Max.Distance” is a simple VectorLength from pawn - Enemy.

My Questions are:

  1. How can i constraint the Pawn A/D Movement?
  2. Need i a Trace from Mouse Location to WorldSpace ever Tick? Or maybe give other solution?

Here my concept: