Yeah. my original idea was to have the camera fixed. Since I kind of prefer that, but I can see how it would work a lot better with that way. This way you could, as you say, have both “keep attacking enemy in front of player” and with a button press or while moving forward “attack enemy camera aims on”. Could actually be better.
You could try a trace using the hit location as a reference.
That is a great idea, thanks!
This one is tricky. On the initial attack you could trace if you have line of sight, then trace along the path checking if there is ground towards the target… I’m sure there are better solutions out there.
I have some ideas but I want a simple one. I was thinking about making invisible boxes every 25 unit from player to target, and make a curved spline between them. If the spline is too curved, it fails. I’ll wait a bit with this one.
Thanks for the help, I’ll see where it takes me