How to get distance to the edge of the object

I need to get distance between my vehicle and, for example, some wall. But the method “distance to” measures the distance between their centers.
I need to get distance between the center of vehicle and the edge/side of the wall.
How can I do it?

PS Sorry for my English

Check out the Get Extent node. Given a mesh or actor or whatever, it gives you an X, such that the center point + X = the right edge of your box. Center point - X = the left edge of your box. It tells you the ‘extent’ of your actor.

1 Like