I have two
B. They are
90 degrees, which makes its
local y axis face forward.
In this case, the
local y position of B is ahead of
local y position of A
Even though their global position is same as the 1st case, we can observe here that
local y position of A is ahead of
local y position of B.
I tried using
B.transform.localPosition.y to find which is greater but it doesnt work. What can I do to find which is front in these two different cases?