Hi guys,
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:
- How can i constraint the Pawn A/D Movement?
- Need i a Trace from Mouse Location to WorldSpace ever Tick? Or maybe give other solution?
Here my concept:
greetings,
Ulrich