Answers for "unity go to rotation"

C#
16

unity how to change rotation

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

how to rotation in something in unity

public Transform t;

transform.rotation = Quaternion.Eular(x,y,z);
Posted by: Guest on June-07-2021

C# Answers by Framework

Browse Popular Code Answers by Language