Check out example codes for "unity rotate vector". It will help you in understanding the concepts better.
Code Example 1
Vector3 rotated = Quaternion.AngleAxis(-45, Vector3.up) * vector;
Learn ReactJs, React Native from akashmittal.com
Check out example codes for "unity rotate vector". It will help you in understanding the concepts better.
Code Example 1
Vector3 rotated = Quaternion.AngleAxis(-45, Vector3.up) * vector;
Learn ReactJs, React Native from akashmittal.com