C# Quaternions in Unity! - Intermediate Scripting Tutorial

preview_player
Показать описание
Quaternions are a system of rotation that allowed for smooth incremental rotations in objects. In this video, you'll learn about the quaternion system used in Unity and will explore a few of the methods that allow you to work with it!

Рекомендации по теме
Комментарии
Автор

For the past week I was trying to understand how does it work... I even went to the professor at the university for a long talk about them and it left me with more mess in my mind than before. Thanks a lot for that simple tutorial that shows only things that I needed. You saved me next week of understanding complicated math calculations. Cheers!

phoxinus
Автор

"euler angles are "slightly" easier"

ITomocska
Автор

POV: U never really understood how quaternions work so u decided ull finally learn it

youssefkassem
Автор

Mike Geig rocks!
Always breaks it down so simply.

parfyparf
Автор

What should we call spherical interpolation... it's such a hard phrase to keep repeating?

Slacker, in the back of class: call it sLeRp xD

Salmontres
Автор

This is just how to use some unity functions not what quaternions are, or how they calculated, or how they are converted to Euler, or what gimbal lock is and how quaterions avoid this

gower
Автор

you guys are amazing
you literally solved all of my problems

marcel-loif
Автор

Lol I can remember when I was younger I didn’t understand quaternions at all so I just made a center game object and a child a certain distances way and the rotated the center object. Had almost the same effect as this.

youtubeiscorrupt
Автор

Where is "public Transform target" in the LookAtScript set? The target has to be the orb, right?

CryingPandabaer
Автор

How do I set a specific value for example of Rotation Y. I explain myself for example I have a cube and I want that its rotation in X becomes 95 ? and that if I press another button that it becomes 35 for example.

xB_
Автор

"Because euler angles are slightly easier to understand"...Slightly...Are you sure about that?

zoop
Автор

May I ask a question: "where to download the project in the tutorial?", really love the "Post Process Layer" :)

lijingli
Автор

I copy and pasted the gravity code to test changing it from localRotation to rotation and there was no difference in how it behaved.
Why use localRotaion for anything if most if not all other rotations when making a game comes from other objects in world space?

magnusm
Автор

Why do you use Slerp() within Update() function? It only interpolates from start to end of each of the frames

NguyenNguyen-dkql
Автор

Nothing quite sets my ADHD off so quickly off like Unity's tutorials.

Ryan_
Автор

Is Euler really pronounced "oiler"? I've always said "yewler", but never actually heard it aloud before.

hurhurhur
Автор

What does he mean at the end when he says you should never alter components independently?

magnusm
Автор

How is the transform offset acted on by that LookRotation to calc that? For example, if the diff between transforms is 1, 2, 3. How does that translation diff get turned into a Quaternion rotation? Thanks in advance!

THE_ONLY_GOD
Автор

what should I do to limit how far an object can rotate?

ContinuedBread
Автор

In the LookAtScript, what does the variable relativePos variable represent?

LKASTI