Question by
greatness · Jul 23, 2016 at 07:44 PM ·
rotationtransformquaternionquaternion.lookrotationtransform.lookat
what is the difference between transform.look at and quaternion.look rotation
Are they the same exact thing? Or is there a difference?
Comment
transform.LookAt(x, y);
is the same as doing
transform.rotation = Quaternion.LookRotation(x, y);
as far as I am aware. Quaternion.LookRotation returns a quaternion object which is very useful if you want to perform further logic on the answer rather than using it directly.
Your answer
Follow this Question
Related Questions
3 Axis Camera Rotation 0 Answers
Questions about Rotations in unity 1 Answer
Getting a smooth rotation with Quaterminions slerp in IEnumerator 1 Answer
unwanted rotation in y axis 0 Answers