Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Calculate shortest distance between two objects

$
0
0
How can I get the distance between two objects when one of them is really big (e.g. a wall) and the other one is kinda small? I am aware of vector3.distance but I can't use that, because it uses the world coordinates. It's like calculating the distance on only one axe, but without knowing the axe. I hope you can help me :)

Viewing all articles
Browse latest Browse all 171066

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>