Hello,
I would like to check, if an object is pointed “somehow” in a specific direction. Like 10°-+ in each direction?
Hello,
I would like to check, if an object is pointed “somehow” in a specific direction. Like 10°-+ in each direction?
You can check the angle between the two quaternions using Quaternion.Angle.
thank you, that was what I was looking for.