QUATERNIONS Explained VISUALLY in 381 Seconds

Опубликовано: 22 Март 2024
на канале: Raycastly
5,032
287

Your ultimate guide to understanding quaternions for game development. I have condensed as much information as I could find online about quaternions that is practical for game development. No advanced understanding of math is required.

Get My Asset Packs for FREE here:
https://bit.ly/free-game-dev-assets

If you get stuck, you can ask for help on our discord server! Join through this link:
  / discord  

------------------------

Main inspiration for my video:

Sociamix - 10 mins GameDev tips - Quaternions
   • 10 mins GameDev tips - Quaternions  

Difference between LookRotation and FromToRotation:
https://stackoverflow.com/questions/7...

-----------------------

Timestamps:
0:00 Intro
0:10 Orientation vs. Rotation
0:26 Euler Angles
0:52 Issue #1 - Order Matters
1:12 Issue #2 - Gimbal Lock
1:44 Quaternions
2:40 Quaternion.LookRotation
3:36 Quaternion.FromToRotation
4:04 Quaternion.AngleAxis
4:23 Quaternion.RotateTowards
4:51 Quaternion.Slerp
5:14 Quaternion.Inverse
5:25 Quaternion.Euler
5:39 Quaternion * Quaternion
5:57 Quaternion * Vector