Answers for "how to set rotation of object unity"

C#
6

how to set rotation of object unity

transform.rotation = Quaternion.Euler(0, 90, 0);
Posted by: Guest on March-13-2020
7

unity how to change rotation

transform.eulerAngles = new Vector3(0f, 180f, 0f); //rotates 180 degrees
Posted by: Guest on February-24-2020

Code answers related to "how to set rotation of object unity"

C# Answers by Framework

Browse Popular Code Answers by Language