NOOB TRAP Quaternion does not contain a method LookRotation

OK, notice CAREFULLY that although the instructor types the “new” keyword initially, He DELETES it and uses only the Class name and class methods. If you leave the new word in, Unity will give you the message “Quaternion does not contain a method LookRotation” and you will go crazy thinking that you are spelling it wrong because it it clearly in the documentation. The problem is not your spelling of the method. It is having the new keyword there. I am finding Unity’s error messages to be TERRIBLE at directing me to where the problem actually lies, but I shall solder on.

Privacy & Terms