How to calculate and print the distance between two objects using BluePrints?

How to calculate and print the distance between two objects using BluePrints?

Here’s a simple BP to do what you’d like:

-Sterling

1 Like

Simplest way between two Actors is to use the “Get Distance To” node, then use the “Print String” node.

Or that! :slight_smile:

While the DistanceTo node is great for two actors, this method is good for any two points so knowing this math is a must in my opinion. Some day you’ll be curious how far you are from a hit test location or such and this will come in very handy.