Answers for "rotate a vector to align to a direction unity"

C#
11

unity rotate vector around point

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

Code answers related to "rotate a vector to align to a direction unity"

C# Answers by Framework

Browse Popular Code Answers by Language