Answers for "unity rotate vector around point"

C#
5

unity rotate vector around point

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

unity rotate around point

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

C# Answers by Framework

Browse Popular Code Answers by Language