Answers for "unity rotate vector around axis by angle"

C#
11

unity rotate vector around point

Vector3 rotated = Quaternion.AngleAxis(-45, Vector3.up) * vector;
Posted by: Guest on May-23-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