Answers for "rotate vector around axis unity"

C#
6

unity rotate vector

Vector3 rotated = Quaternion.AngleAxis(-45, Vector3.up) * vector;
Posted by: Guest on May-23-2020
1

rotation around own axis in unity

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

unity rotate around axis

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

C# Answers by Framework

Browse Popular Code Answers by Language