Answer the question
In order to leave comments, you need to log in
How to write if the quaternions are almost equal?
You need to write a condition that, if the quaternions are equal or almost equal, then do the action
Answer the question
In order to leave comments, you need to log in
For example, you can calculate Quaternion.Angle and compare with some small value. Or take the distance between Quaternion.eulerAngles.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question