Game Math Theory - VECTORS

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2016
  • This video briefly explains what Vectors are and how they can be used in a game.
    ❤️ Donate: www.paypal.com/donate/?hosted...
    ● Read more about Vectors: www.mathsisfun.com/algebra/ve...
    ····················································································
    Game Math Theory is a series intended to give a solid understanding of the mathematical concepts that underlie the game development process.
    ····················································································
    ♥ Subscribe: bit.ly/1kMekJV
    ● Website: brackeys.com/
    ● Facebook: / brackeys
    ● Twitter: / brackeystweet
    ········································­­·······································­·­····
    ► All content by Brackeys is 100% free. We believe that education should be available for everyone.
    ❤️ Donate: www.paypal.com/donate/?hosted...
    ········································­­·······································­·­····
    ♪ Baby Plays Electro Games
    teknoaxe.com/Link_Code_2.php?q...

ความคิดเห็น • 242

  • @MrQwerty2524
    @MrQwerty2524 7 ปีที่แล้ว +501

    Would really appreciate an episode about Quaternions :)

    • @suryasel.7065
      @suryasel.7065 7 ปีที่แล้ว +6

      +1 to This :)

    • @suryasel.7065
      @suryasel.7065 7 ปีที่แล้ว +3

      +1 to This :)

    • @benjaminlavigne2272
      @benjaminlavigne2272 7 ปีที่แล้ว +4

      +3

    • @Mark-yf3gm
      @Mark-yf3gm 7 ปีที่แล้ว +9

      I dont know what is that, so because of that, I want to learn about it :) (+1 to this)

    • @Zeldrak
      @Zeldrak 7 ปีที่แล้ว +13

      holy shit yes! Quaternions is such a headache to learn :/

  • @andrewsparkes6115
    @andrewsparkes6115 7 ปีที่แล้ว +166

    I am a teaching assistant and can see this series being useful for getting kids - who couldn't care less about maths but love playing games - into maths itself.

    • @steve24822
      @steve24822 7 ปีที่แล้ว +4

      Do you not teach Scratch at school? If not, this is in every school in Britain as far as I can tell and a great way to teach children concepts such as vectors.

    • @markeyboi6545
      @markeyboi6545 7 ปีที่แล้ว +3

      In U.S.A we don't learn any computer science in school sadly.

    • @steve24822
      @steve24822 7 ปีที่แล้ว +2

      Andrew Mitchell Seriously? That is a real surprise being such a strong country in computer science.
      I had Computer Science from about 1982 in School.

    • @markeyboi6545
      @markeyboi6545 7 ปีที่แล้ว +2

      Nevets Actually that's just a stereotype, only our collages/universities our strong in computer science. Some schools here don't even have computers, but most of them have at least bought really cheap Chromebooks or some type of computer recently.

    • @desigamer866
      @desigamer866 5 ปีที่แล้ว

      Nevets we learn this in physics

  • @FergJoe
    @FergJoe 3 ปีที่แล้ว +10

    I really miss this channel’s content. Even years later, this is still among the best GameDev content on TH-cam.

  • @hodge47
    @hodge47 7 ปีที่แล้ว +14

    This was much more understandable than when I learned it in school. Great work.

  • @metaldinu
    @metaldinu 7 ปีที่แล้ว +12

    A really well made video which should help aspiring programmers, keep up the great work!

  • @nirast2561
    @nirast2561 7 ปีที่แล้ว +183

    but hey, that's just a theory, a GAME MATH THEORY! thanks for watching!
    sorry, i had to do it.

    • @nirast2561
      @nirast2561 7 ปีที่แล้ว +6

      seriously though, good episode

    • @Brackeys
      @Brackeys  7 ปีที่แล้ว +37

      Haha, I was actually really tempted to put that in the video ;) Scared of copyright though!

    • @nirast2561
      @nirast2561 7 ปีที่แล้ว +3

      +Brackeys, i think it's okay if you do it only once and make sure to let them know it's more in a joking fashion

    • @thatanimeweirdo
      @thatanimeweirdo 7 ปีที่แล้ว

      JUST DO IT! YES YOU CAN!

    • @romanian8034
      @romanian8034 7 ปีที่แล้ว

      +radu nicolae salut radu

  • @weplaydthis
    @weplaydthis 7 ปีที่แล้ว +1

    Great! One of the clearest short explanations I've seen. Also, great point about the redundant square root when comparing vectors (in some cases). I'd love to see you make a video about dot product.

  • @TheImpe98
    @TheImpe98 7 ปีที่แล้ว +1

    I really dig this, it's very interesting to hear how what we have been taught in school relates to game development! Keep it up Asbjørn!

  • @SnakeAT
    @SnakeAT 7 ปีที่แล้ว +8

    I already love this series!

  • @E2thebank
    @E2thebank 7 ปีที่แล้ว

    Love your tutorials. You really know your stuff and it shows when you are able to explain things so easily on an understandable level! I wish I could just take classes from you for a few years lol.

  • @KindOldRaven
    @KindOldRaven 6 ปีที่แล้ว +91

    Did... did you just.... did you just manage to teach me a basic concept on vectors in less than 4 minutes even though I always had issues with that stuff? Damn... I'm already 28 and haven't touched math in like... 15 years (literally), but perhaps I should revisit this realm.

    • @Yolwoocle
      @Yolwoocle 4 ปีที่แล้ว +6

      how has it been 2 years later? :)

    • @rameezsafdar6563
      @rameezsafdar6563 3 ปีที่แล้ว +3

      @@Yolwoocle He has not returned from the realm maybe

    • @Yolwoocle
      @Yolwoocle 3 ปีที่แล้ว +1

      @@rameezsafdar6563 oh no.. maybe he's stuck D:

    • @rameezsafdar6563
      @rameezsafdar6563 3 ปีที่แล้ว

      @@Yolwoocle Possibly xD

    • @JACE-rr5xv
      @JACE-rr5xv 3 ปีที่แล้ว

      @@rameezsafdar6563 he is still there

  • @yasserreda3280
    @yasserreda3280 6 ปีที่แล้ว

    please continue making such great playlist , this is very useful !

  • @carlmeyer96
    @carlmeyer96 7 ปีที่แล้ว

    Awesome work Brackeys! Found this video really informative and loved jou you related it to Game Development. Thank you for that Optimization tip as it will really help me and wasn't something That I think I would have realized had you not showed it in this video. More Optimization tips like that would be really great :) Great Quality as always! Keep Up the Awesome work!

  • @ho-jeonglee5860
    @ho-jeonglee5860 7 ปีที่แล้ว

    Brilliant series you started here! This will enable novice coders to learn math in coding in such efficiency! Kudos to you!

  • @ShaolinMonkster
    @ShaolinMonkster 7 ปีที่แล้ว

    Awesome series , awesome stuff, very good explanation , wanna see more of this! Trigonometry and vectors (again) . I love it

  • @koekeritisVideos
    @koekeritisVideos 7 ปีที่แล้ว +1

    As a high schooler this part of game development is my biggest hurdle along the way of making games because I just haven't had it in school yet and good resources are hard to find, thank you so much, I love this series already!

    • @MrBarneyDinosaur
      @MrBarneyDinosaur 7 ปีที่แล้ว +2

      if you're willing to learn on the side, codecourse and EdX have courses which cover this type of math. They're online and free, so you can learn at your own pace.

  • @arindambharati2312
    @arindambharati2312 4 ปีที่แล้ว

    holy moly! these tuts are soo soooo freakingly good. Can't thank you enough.

  • @pickensincorporated
    @pickensincorporated 7 ปีที่แล้ว +36

    I wonder if Brackeys will cover Quaternions hahah

  • @haystack7077
    @haystack7077 4 ปีที่แล้ว

    You sir, are the real MVP of Unity 2D tutorials. Thanks !!

  • @BonetheBaker
    @BonetheBaker 7 ปีที่แล้ว

    That was simple and quick. Really nice video

  • @pigeon5744
    @pigeon5744 5 ปีที่แล้ว

    Thank you so much for this video. Really helped me understand everything.

  • @Tanfor1
    @Tanfor1 7 ปีที่แล้ว +161

    Better than school

  • @TravelWithDhami
    @TravelWithDhami 7 ปีที่แล้ว

    great work :) waiting for the next videos of this series

  • @maraza7886
    @maraza7886 7 ปีที่แล้ว

    Love learning things every day!

  • @thatanimeweirdo
    @thatanimeweirdo 7 ปีที่แล้ว +1

    Very interesting video and much better than the whole year I spend in school learning vectors and integrals..

  • @rgv3858
    @rgv3858 7 ปีที่แล้ว

    Lovely elegant video. Minimal, graceful fonts...
    I recommend you add in the title the complexity of the lesson. In this case, some like [BASIC] or so.
    Thanks!

  • @j.jester8839
    @j.jester8839 7 ปีที่แล้ว

    Nice video with a great edit and great explanations...
    We want mooore

  • @epicalethan
    @epicalethan 3 ปีที่แล้ว

    I was watching sebastian leagues videos on this and I got completely lost. I passed maths in high school, but never actually understood vectors or what they even were. I did tons of research on them after not understanding sebastians video, but then you just explained this so easily. Thank you!

  • @srb3194
    @srb3194 2 หลายเดือนก่อน

    Finally someone who explains that in a clear, graphical way, thank you so much

  • @Adammmmmmmmke
    @Adammmmmmmmke 7 ปีที่แล้ว +1

    Really digging this so far, make more! Maybe drop the background music though, I find it a little distracting

  • @MrGameLandTV
    @MrGameLandTV 6 ปีที่แล้ว

    this helpted me a lot it's really well explained for someone that has dyscalculia (Dyslexia but for maths) thank you

  • @calicospartan4251
    @calicospartan4251 7 ปีที่แล้ว

    This was so helpful and very well made :D

  • @Skjoldmc
    @Skjoldmc 7 ปีที่แล้ว

    I really love this series.

  • @JonathanDavidsonn
    @JonathanDavidsonn 7 ปีที่แล้ว

    This is great! I never really understood vectors but now I do! :D

  • @Neki2K1
    @Neki2K1 ปีที่แล้ว

    I love this content, I hope u create more video Game Math Theory.

  • @esbenjddk
    @esbenjddk 7 ปีที่แล้ว +29

    A really good explanation of vectors and their use. But I am curious, what program did you use to make this video, it was really well made? :)

    • @iamsahdev
      @iamsahdev 7 ปีที่แล้ว

      You can use Adobe after effect.

    • @Brackeys
      @Brackeys  7 ปีที่แล้ว +20

      I was initially going to use After Effects but actually found that Keynote (Mac only) was a lot quicker and pretty much did all I wanted. I then exported the slideshow into Premiere Pro to sync it with the audio :)

    • @Just_A_Random_Person_908
      @Just_A_Random_Person_908 6 ปีที่แล้ว

      +Brackeys wait so r u on mac or windows? XD

    • @smonkk8556
      @smonkk8556 6 ปีที่แล้ว +4

      Dark Fang he literally just said

  • @Kyanhdang
    @Kyanhdang 2 ปีที่แล้ว

    This is so interesting! Thank you so muchh Brackeys! :D

  • @joaoafonsomendonca9044
    @joaoafonsomendonca9044 7 ปีที่แล้ว

    Great explanation!

  • @XenoKay88
    @XenoKay88 6 ปีที่แล้ว

    such great stuff man. thank you!

  • @eboatwright_
    @eboatwright_ 3 ปีที่แล้ว

    I know this video is old, but it's just what I needed!

  • @AkinJanet
    @AkinJanet 6 ปีที่แล้ว +1

    l always wondered how to find the length between a and b if they are away in x and y cordinated but never thought to relate it to 3angle formula wow its so simple if you learn :)

  • @aleksandarstojanovic3324
    @aleksandarstojanovic3324 4 ปีที่แล้ว

    Excellent explanation, thanks! :)

  • @PunchfalconGaming
    @PunchfalconGaming 7 ปีที่แล้ว

    me and my friends did exactly what you are explaining with the distance for a game we made for 24 hour challenge on the 16th and then I see you upload this on the 18th xD

  • @ghost_wasabi
    @ghost_wasabi 4 ปีที่แล้ว

    Love videos like this!

  • @dalvandi
    @dalvandi 3 ปีที่แล้ว

    Using this to kickstart my understanding for my Linear Algebra module :D

  • @Snipervuk
    @Snipervuk 4 ปีที่แล้ว +1

    You explained this way better in 4 minutes, than my game engine theory teacher at Qut in a 2 hour lecture lol

  • @hridya.r
    @hridya.r 4 ปีที่แล้ว

    Amazing. Love it

  • @sergeyklassen9696
    @sergeyklassen9696 7 ปีที่แล้ว

    Very useful, thanks!

  • @ChickenSwek
    @ChickenSwek 7 ปีที่แล้ว

    Great video!

  • @rainytapestry977
    @rainytapestry977 ปีที่แล้ว

    Pretty helpful insight that some functions like the square root can be skipped if you look out for optimizations like that.

  • @YoutubeChannel-oq6ss
    @YoutubeChannel-oq6ss 4 ปีที่แล้ว

    PLS CONTINUE THIS SERIES

  • @gmfCoding
    @gmfCoding 7 ปีที่แล้ว

    Brackeys you are a legend

  • @blind_neighbourhoodNerd
    @blind_neighbourhoodNerd 6 ปีที่แล้ว

    Thanks man!!

  • @jonathanahrenkiel-frellsen545
    @jonathanahrenkiel-frellsen545 7 ปีที่แล้ว

    very well animated, whatching this as a dane makes me pround ;)

  • @SummerWhisper
    @SummerWhisper 2 ปีที่แล้ว

    감사합니다 언리얼엔진 벡터 이해하는데 도움되었습니다!

  • @mohamedelhawy4124
    @mohamedelhawy4124 6 ปีที่แล้ว

    Very beautiful tutorial

  • @tommarx
    @tommarx 7 ปีที่แล้ว

    Hey ! Very good video, but could you make a video on matrices and quaternions ?

  • @cinemacat4108
    @cinemacat4108 3 ปีที่แล้ว

    My teacher couldn't explain this eventhough we were in the same class while you can explain it for us from our homes

  • @Abner3
    @Abner3 7 ปีที่แล้ว +2

    Can't wait for the sine waves video!!

  • @THEspindoctor84
    @THEspindoctor84 3 ปีที่แล้ว

    also, this is an awesome video! thank you!

  • @aybak3k
    @aybak3k 2 ปีที่แล้ว

    my heart aches so much every time i watch one of this channel legit videos knowing that he retired....

  • @edd_3539
    @edd_3539 6 ปีที่แล้ว

    Pls more game math theory!

  • @Feynman.R
    @Feynman.R 4 ปีที่แล้ว

    Very easy to understand.

  • @despacito2
    @despacito2 3 ปีที่แล้ว

    Thanks this helped me in school

  • @eg4933
    @eg4933 9 หลายเดือนก่อน +1

    great video.

  • @BigBang1112tm
    @BigBang1112tm 7 ปีที่แล้ว +1

    intrested in this! do more! =)

  • @dilanasjonaitis6893
    @dilanasjonaitis6893 4 ปีที่แล้ว +1

    Thank You!!!

  • @AethernaLuxen
    @AethernaLuxen 3 ปีที่แล้ว +1

    3:55
    You can also remove the exponents

  • @lerithelobster6071
    @lerithelobster6071 7 ปีที่แล้ว +1

    Could you please make a tutorial about Anchors? I always mess them up.

  • @Bierfuizl91
    @Bierfuizl91 7 ปีที่แล้ว

    Thanks Arun Mehta :D

  • @monkey1371
    @monkey1371 4 ปีที่แล้ว +1

    Can one use the fast inverse square root method from Quake for calulating?

  • @genjutsuedits
    @genjutsuedits 2 ปีที่แล้ว

    Thanks!!! ❤

  • @gaelcaron8463
    @gaelcaron8463 3 ปีที่แล้ว

    Thanks a lot!

  • @zach8901
    @zach8901 7 ปีที่แล้ว +3

    How would you find the angle from a vector3 to another vector3?

    • @DarksiderDarmoset
      @DarksiderDarmoset 4 ปีที่แล้ว

      Late response, but in another video, we took the vector magnitude, which involved raising each value to the second power (x^2, y^2,z^2), adding them up, then taking the absolute value. We then divided each X,Y,Z value by the vector magnitude. We then used ArcTangent(Opposite/Adjacent) based on the new unit vector. This gave us the angle between the two unit vectors. In the Arctan, Opposite was the X value, and adjacent was the Y value.
      th-cam.com/video/ZwD1UHNCzOc/w-d-xo.html

  • @Xgamesvidoes
    @Xgamesvidoes 5 ปีที่แล้ว

    Nice!

  • @flyshades2213
    @flyshades2213 3 ปีที่แล้ว

    I actually get it now! Wow.

  • @PuntoDamar
    @PuntoDamar 6 ปีที่แล้ว

    what software did you use for the visualizations?

  • @MinecraftLetstime
    @MinecraftLetstime 7 ปีที่แล้ว

    Which program did you use to do the animation for this video?

  • @bennis9283
    @bennis9283 7 ปีที่แล้ว

    Thats awesome

  • @juliocesarramirezvasquez7494
    @juliocesarramirezvasquez7494 4 ปีที่แล้ว

    You're awesome.

  • @JustSkinnyWigSnatchAssClap
    @JustSkinnyWigSnatchAssClap 3 ปีที่แล้ว

    This amazing man really retaught y’all trig

  • @MrBrown78
    @MrBrown78 7 ปีที่แล้ว

    Interesting!

  • @WanderyenErin
    @WanderyenErin 2 ปีที่แล้ว

    Thanks for the video!! (The music is creepy btw)

  • @leatherandpoemscharmyman5774
    @leatherandpoemscharmyman5774 3 ปีที่แล้ว

    for a good amount of itme I struggle with Vectors and transform.propiety in Unity and c# now is forgotten past hahaha

  • @Asylum3D
    @Asylum3D ปีที่แล้ว

    I always did well in math class but never fully appreciated what was being taught until I starting creating games. Sorry professor for asking the question "When the hell am I ever going to need to multiply a matrix?". Or even high school - Why do we need Sin/Cos/Tan...

  • @chrisstone-streetlightinte5629
    @chrisstone-streetlightinte5629 6 ปีที่แล้ว

    So I'm understanding this right...you're using y=m(x)+b to determine the rise over the run and then the hypotenuse of that angle is call the vector?

  • @marcinbiaecki9731
    @marcinbiaecki9731 3 ปีที่แล้ว

    Thank you :)

  • @Waterybong
    @Waterybong 3 ปีที่แล้ว

    Miss you man

  • @matheusmachado5038
    @matheusmachado5038 7 ปีที่แล้ว

    NICE!

  • @Random4Logic
    @Random4Logic 7 ปีที่แล้ว

    Is that the background sound from Diggin´ at 2:20 ?

  • @RajdeepBorgohainRajdeep
    @RajdeepBorgohainRajdeep 5 ปีที่แล้ว

    thank you so much :-)

  • @Kabloosh
    @Kabloosh 7 ปีที่แล้ว

    Now I don't have to wait in math class to find something useful.

  • @domicreator
    @domicreator 7 ปีที่แล้ว +1

    more pls

  • @robertvaida3003
    @robertvaida3003 6 ปีที่แล้ว

    Thank you

  • @AnasMations
    @AnasMations 7 ปีที่แล้ว +1

    i take this things at school !!!!!!!

  • @jiro4559
    @jiro4559 4 ปีที่แล้ว

    Boy that escalated quickly

  • @frog450LP
    @frog450LP 7 ปีที่แล้ว

    please do an episode on bsp

  • @medozeus2404
    @medozeus2404 4 ปีที่แล้ว

    in Your example, you used B - A for found distance What we will get if you write A - B?

  • @mittelego1098
    @mittelego1098 2 ปีที่แล้ว

    I'm actually using for learning for a high school exam

  • @AsifKhan-ox7gf
    @AsifKhan-ox7gf 6 ปีที่แล้ว

    how to find distance if one value is negative then how to decide A-B or B-A