Unity C# Basics - Part 12 - What Are Quaternions?

preview_player
Показать описание


MAKE YOUR OWN GAMES THIS YEAR:

► Discord

► Subscribe

#unity3d
#indiedev
#gamedev

FREE UNITY C# TUTORIALS:
Want to learn to make games?
---

Have a tutorial suggestion? Send it to us on GameDevHQ.com.

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

This is a tutorial on how to avoid touching quaternions and instead using Euler Angles.
Maybe you want to rename the video to something more accurate?

RoronoaZoroSensei
Автор

you are a legend
and i was stuck watching 3blue1brown stuck in an infinite loop of "lol im stupid and cant understand this"
YOU SAVED ME

talalbow
Автор

its is still very very valuable in 2020 too on 23 april bro nice work...

operationalhumanbeing
Автор

You say since we avoided the use of the 'new' keyword we reduce garbage collection but you should note that Structs like Vector3 are allocated on the stack so there is no garbage collection whatsoever. In the case of structs all the 'new' keyword does is allocate memory on the stack if you use a parameter-less constructor it will set all member variables of the struct to their defaults.

wasiimo
Автор

Very clear, to the point and simple. Thanks! I look forward to see more of your tutorials.

angel
Автор

This is better than the official Unity tutorial for Quartenions :)

prambo
Автор

thanks seriously i didn't use quaternion because it was really difficult and now i understand !

omar-
Автор

You just saved my life with that last part of the video, thanks man.

elgroxo
Автор

For anyone wanna use Quaternions for rotations in 2D, Quaternion.LookAt wont work since the transform.rotation will flip the sprite vertically so you wont see it. Instead, use Quaternion variable = Quaternion.FromToRotation which takes two Vector3 parameters, one where you define the direction you wanna rotate FROM and the other one the direction you wanna rotate TO. Then, you need to do transform.rotation = variable * transform.rotation

ScilexGuitar
Автор

Explained Quaternion and even added in a mouse look script. Great stuff.

hamzahahmad
Автор

Euler is such a strange word, I don't like it xD


Very useful tutorial, thanks a lot. I was scared of Quaternions before lmao

sews
Автор

I am the 500th likes of this episode. I am your super fan! Thx so much for providing the Math series for us.

beaverjoe
Автор

Thank You! I had no idea what a quaternion was I was wondering whether I should use it or not, and I came across this.

donutbedum
Автор

Great job! Very clear and concise! Thank you for sharing!

GermanVargas
Автор

Thanks, this was very entertaining, educative and simple to understand!

lejodev
Автор

9:02 - Vector3 is a struct. Structs are not processed by Garbage Collector.

dmitrypanchenko
Автор

amazing man
You earned yourself a new subscriber

Changelllelle
Автор

For anyone reading this he is not actually explaining Quaternions whatsoever, but i do suggest you use this method instead of diving into Quaternions because they could be such a headache.

youneskasdi
Автор

Fantastic explanation, first video to make this easily understandable. Thanks and subbed.

KelDG
Автор

Great bro. Thanks for the best explanation

Meerzare