Answers for "rotate around z axis to look at an object in unity"

C#
3

get objects z rotation in degrees unity

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

unity rotate around axis

transform.Rotate(axis, degrees);
Posted by: Guest on June-08-2020

Code answers related to "rotate around z axis to look at an object in unity"

C# Answers by Framework

Browse Popular Code Answers by Language