By Bushrazaher
on Thu, 12/09/2021 - 15:59
Hello!
Is there any way to get the real world distance between two points(e.g. two objects) placed on ground plane?
Thanks in advance.
Hello!
Is there any way to get the real world distance between two points(e.g. two objects) placed on ground plane?
Thanks in advance.
If you're using Unity, you
If you're using Unity, you can calculate the distance between the two game objects in world space. Unity's unit size is 1 meter. That means that two objects that are Vector3(0,1,0) away from each other are also 1 meter away. I hope that helps.
Kind regards,
Patrick Scheper
First thank you for your
First thank you for your answer.
By calculating the vector
By calculating the vector distance between two ground plane targets, in world space, you can get the distance as described below.
Kind regards,
Patrick Scheper
Technical Community Manager