Hi there fellow forum lurkers!
I am trying to achieve a “charge-to” effect in my game, such as the Warrior’s charge ability in World of Warcraft. The game I’m working on is not that much similar to WoW in terms of logic however basically, on keypress I get nearest actor, then I want the player pawn to run/charge to the nearest actor.
Currently I have this code setup however it’s meant for charging directly forward, not in the location of the nearest actor:
What can I replace the GetActorForwardVector with to achieve this effect? I’ve tried using the nearest actor’s location but that doesn’t seem to work. Any help/tips appreciated!
Regards