A Crash Course in Understanding Quaternions

Learn how you can understand and implement quaternion rotations in your game projects

4.35 (187 reviews)
Udemy
platform
English
language
Math
category
instructor
A Crash Course in Understanding Quaternions
6,465
students
1.5 hours
content
May 2022
last update
FREE
regular price

What you will learn

A background overview of the mathematics that underpins quaternion rotations.

How gimbal lock occurs and why it is an issue with Euler angle rotation calculations.

Why quaternions provide a superior way of calculating rotations over Euler's formula.

How to use quaternions to rotate 3d objects in the Unity Game Engine with C#.

Why take this course?

Quaternions are like vegetables. You know they are good for you but you aren't sure why and if only you knew how to make them taste good. Okay so you aren't going to be eating quaternions, but you get the idea.  They are this really advanced topic in geometry and mathematics that anyone who designs or programs games has heard about, might have even used, but have no real understanding about what they are achieving and why they are better than other methods.

This short course will demystify the concept for you.  No, it won't give you the level of understanding of a postgraduate university mathematics major but it will provide you with the theory that will help you put quaternions and rotations in 3D space in context and give you the skills to use them with confidence in your game projects to overcome the limitations of other rotational methods.

Learn how to program and work with:

  • 4x4 Matrices to represent Euler angles.

  • Quaternion operations included in the Unity API.

  • Rotational controls for Slerp, RotateTowards, and LookAt.

Contents and Overview

In this short course, you will gain an understanding of the history of rotational mathematics and how quaternions came into existence.  It begins by examining Euler angles and how they are used to orient objects in 3D while then proceeding to explain how Euler angle multiplication breaks down into the issue known as 'gimbal lock'.

Following this, a conceptual examination of basic rotational geometry is extrapolated from 2D space into the quaternion 4D.  It is then explained how 4 dimensions can be applied to 3D by implementing axis-angle rotations.

The second half of the course provides some hands-on tutorials for applying quaternions to move and rotate 3D objects in the Unity Game Engine using C#.

What students are saying about Penny's courses:

  • Turns out, the hardest part of this course for me is finding the words to describe how glad I am to have enrolled in it.

  • I honestly love Hollistic's teaching approach and I've never learned so much within a few hours about coding effectively with such detailed explanations!

  • Penny is an excellent instructor and she does a great job of breaking down complex concepts into smaller, easy-to-understand topics.

Screenshots

A Crash Course in Understanding Quaternions - Screenshot_01A Crash Course in Understanding Quaternions - Screenshot_02A Crash Course in Understanding Quaternions - Screenshot_03A Crash Course in Understanding Quaternions - Screenshot_04

Reviews

Vitalina
September 24, 2023
This is a great course, with plenty of coding applications. As a result of taking this course, I have gained a great deal of knowledge. A funny thing happened, I signed up for the course in order to understand the mathematical side of the quaternions, and I ended up applying for rotation. However, I thoroughly enjoyed the course and learned a great deal. I would like to express my gratitude to Penny, who is an excellent instructor.
Massimiliano
September 13, 2023
The course offers a quick overview of all the topics covered in the main course, to which this is linked, except for the SLERP. It makes me want to buy it, but I had already done so...
Anton
June 14, 2023
I was expecting to understand how the quternions work under the hood. But this course only talks about how to use Unity's helper methods, which use quaternions under the hood. Nevertheless, it is a nice introduction to rotations for beginners. And I did better understand a couple of used methods myself. Also, you can't argue with free :D
Guido
April 16, 2023
Great course. I did hope for a bit more of a deep dive into the mathematics of quaternions, I did get a thorough repetition of Euler angles (but that's not what the course name suggests). The course _did_ have great pointers to external resources (that did have those mathematics I craved). The course goes deep into how to apply quaternions in Unity, which of course is the more important skill to develop. Finally, the final exercise had the kind of space physics that I find strange (where you only move while accelerating and have no inertia) - luckily, that bugged me enough that I had to fix that and thus got lots of time to practice ?
Bolis
March 27, 2023
Explained clearly. The Instructor has a unique style that takes a complex concept and makes it easy to understand with examples and excersises, that are very useful
Allen
February 9, 2023
H3D Courses are awesome, I always wanted to take Unity courses that also cover the fundamentals of Physics in a game.
Gobal
December 14, 2022
super , quaternions, how to do for multidimension to quaternion, in this it convert from 3d to 2D, if 4d, 5d,6d world with sense, how to convert it to 2D
Miguel
November 8, 2022
Concepts are explained perfectly and so is the math. An amazing free course to understand quaternions on a basic level.
Joanalbert
April 5, 2022
After completing a handful of her courses, apart from math and Unity, i've learned that the name Penny De Byl is synonymous with quality.
Dwayne
February 22, 2022
The instructor gave clear and concise instruction about this complex topic. She provided concrete examples of the functions and made it very accessible to everyone.
William
February 14, 2022
Great tutorial--I learned alot. One part of the series involved making rotations with matrices to rotate a little airplane on a stick (vector). This was a little frustrating because I tried to play around with the scene before watching the whole video. It didn't take long for me to run headfirst into what would later be called the "Gimbal Lock" problem, though unbeknownst to me at the time, I thought I had done something wrong since the rotations were producing erratic results. Without continuing to watch the video, I spent WAY too much time trying to troubleshoot and rewrite the code trying to hack it to work correctly. Finally gave up and watched the rest of the video only to find out this "unexpected" behavior was, in fact, "expected" in that it was demonstrating the gimbal lock problem (FACEPALM!!!). Anyways other than that, the rest of the material was good--I just need to watch the whole video before starting it over, and actually following along. I will take personal responsibility for my lack of patience and over-enthusiasm with that particular video, but other than that, everything else was great. Thank you for the info!
Prasanna
February 4, 2022
good. but couple of minutes spent on how the rotation matrix arises (from vector projection to coord system) will do world of good for further understanding and implementation.
Pierce
February 4, 2022
Another really good course from Penny! She not only gives good info on how and why unity uses quaternions for rotations, but she also gives a really good layman's overview of how they actually work.
Vincent
December 24, 2021
The course is well paced and the instructor is clear. However, I feel the course did not reflect the title. Maybe "A Crash Course on Using Quaternions in Unity" would be more appropriate. Also, it would be nice to have a section about debugging. When some object has a weird orientation and you fire a debugger, how to interpret the quaternion values you read?
Maxime
September 23, 2021
For a free course I really learned a lot ! Thank you so much for making such good quality course available for free !

Charts

Price

A Crash Course in Understanding Quaternions - Price chart

Rating

A Crash Course in Understanding Quaternions - Ratings chart

Enrollment distribution

A Crash Course in Understanding Quaternions - Distribution chart

Related Topics

4234802
udemy ID
8/11/2021
course created date
8/31/2021
course indexed date
agentalius@gmail.com
course submited by