Hi,
This is my first thread on Unity Forum.
I want to know how to compare rotations in an object?
Hi,
This is my first thread on Unity Forum.
I want to know how to compare rotations in an object?
What kind of comparison do you want to make?
I suppose you want to compare if the rotations match, if so you can do it by using Quaternion.Angle with rotation A and rotation B as arguments and then make an if-block to check if the angle is less than a specific threshold.