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 :)
↧