Answers for "rotation with a vector unity"

C#
11

unity rotate vector

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

unity rotate direction by angle

vector = Quaternion.AngleAxis(-45, Vector3.up) * vector;
Posted by: Guest on June-17-2021

C# Answers by Framework

Browse Popular Code Answers by Language