- Home /
How to get the distance between two objects in feet/meter?
Hi,
I am working on a project where i should measure the distance between two object in meter or feet. I can calculate the vector3 distance between two objects, but i dont know how to convert it to the meter or feet.
can anyone please help to how to do this ?
Thanks.
Comment
Answer by Zodiarc · Jul 20, 2016 at 09:13 AM
As far as I know Unity's coordinate system is set to 1 unit = 1 meter. So if you have a distance of 10 between two objects they're 10 meters apart. But it also depends on how you scale everything.