November 2019
Intermediate to advanced
404 pages
12h 9m
English
Avoid using Euler angles for any kind of orientation behavior. Quaternions are designed to be much better for representing angles (the only downside is that they are more abstract and harder to visualize when debugging) and maintaining accuracy whenever there are changes, while also avoiding the dreaded gimbal lock. Using Euler angles for calculations could eventually lead to inaccuracies after there are a lot of rotation changes, which is incredibly likely since the user's viewpoint will change by tiny amounts many times per second in both VR and AR.
Read now
Unlock full access