Answers for "how to use normal rotation numbers in unity"

C#
3

get objects z rotation in degrees unity

gameObject.transform.rotation.eulerAngles.z
Posted by: Guest on May-21-2020
1

rotation around own axis in unity

transform.RotateAround(transform.position, transform.up, Time.deltaTime * 90f);
Posted by: Guest on March-19-2020

C# Answers by Framework

Browse Popular Code Answers by Language