Comments and answers for "Get Y Rotation Between Two Vector3 Points"
http://answers.unity.com/questions/1482829/get-y-rotation-between-two-vector3-pointsget-y-rot.html
The latest comments and answers for the question "Get Y Rotation Between Two Vector3 Points"Answer by Cornelis-de-Jager
http://answers.unity.com/answers/1483048/view.html
Try this:
Vector3 target;
Vector3 origin;
Vector3 dir = target - origin;
Quaternion rotation = Quaternion.Euler (0, dir.y, 0);
transform.rotation = roration;Wed, 21 Mar 2018 01:04:33 GMTCornelis-de-JagerAnswer by Menyus777
http://answers.unity.com/answers/1483015/view.html
Calculate Direction Vector, bamm you doneTue, 20 Mar 2018 22:23:55 GMTMenyus777