Download

GetDistanceTo [Not being Accurate]

When using the GetDistanceTo Node in Unreal4, it doesn’t seem to be pushing back accurate numbers when it calculates the distance between my Mutant AI and the Player Character. Is there a fix for this or am I forgetting something?
I’ve used the node that Unreal4 has in the API as well as taking the Vectors of the two actors and subtracting them into a VectorLength node, they both yield the same results.

The Actor this blueprint is running on is the Mutant.

Here is the video of the results that I get real-time:
[video]https://drive.google.com/open?id=0B9jTFeCFXVKzMTU3U091Vzk5Tlk[/video]

BluePrintDistance.PNG

The controller will not give you a valid location. Use the character instead.

Many thanks, Korku!