Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity rotate direction by angle

vector = Quaternion.AngleAxis(-45, Vector3.up) * vector;
 
PREVIOUS NEXT
Tagged: #unity #rotate #direction #angle
ADD COMMENT
Topic
Name
1+4 =