I have two game objects named A
and B
, just as follows:
I want to move object B
to this virtual line without any rotation so that the destination is B'
. What I have are transformation of object A
and B
. I'm brand new to Unity3D and its APIs, so I don't know how should I get this done.