Answers for "unity rotate object in direction of a vector"

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

Code answers related to "unity rotate object in direction of a vector"

C# Answers by Framework

Browse Popular Code Answers by Language