Get the individual distance of all actors of class.
I want to know the individual distance for all enemies to the player so I can put those values equal to a distance parameter I have set up in Fmod. I just need the numbers.
I really cant seem to figure it out...
Use the node GetActorLocation on each enemy and the player. Then you can do this:
(enemyLocation - playerLocation) -> VectorLength
The locations are the result of the GetActorLocation and the result of the subtraction is fed into VectorLength.
answered Sep 10 '16 at 08:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here