Trigonometry | Gamedev Math

preview_player
Показать описание
Greatest hits of trigonometry! We learn how to apply trigonometry by exploring how to set up aiming in top-down shooters & by introducing bullet spread!

I swear, this man gets a few extra hours each day compared to the rest of us.

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

all of a sudden high school math from years ago finally clicks in (loved watching this!)

mirandaart
Автор

i genuinely do not understand how a video this good can have less than 100 views (84 at the time of writing)
this is a great intro to trig, you deserve way more recognition

aldobernaltvbernal
Автор

The algorithm recommended this to me! Thanks for the helpful video! Your channel deserves so much growth. Good on you

Leoleonpd
Автор

Ok look the math was fine but I need those macarons

LighthoofDryden
Автор

This video is great. I think using motion canvas would help increase the quality but I think what you have is charming in its own way. I like how fast paced everything is and still digestible. Younger me would've appreciated this video a lot when learning about trig.

dominic_sanchez
Автор

Underrated af, this is quality content.

rohanvishayal
Автор

So underrated Please keep making videos its so fun to watch Maths and how its implemented in games :) plus your voice is so relaxing <3

pfjvfln
Автор

Almost two minutes in, and I knew this would be fun to watch while learning.

SeanFrancisNBallais
Автор

I was also brought here by the algorithm. Normally I am not really the "comment writing person" but I have to say that this video was really well-made, and I had to complement you. I wish you the best of luck going forward.

You've gained a new subscriber today :)

juliuswaldmann
Автор

Subscribed! This video gave me the right kind of A level maths flashbacks

Ray
Автор

wait what. i thought i was watching a huge youtuber until I heard at the end you were a small one. huh. great job

_Egg
Автор

I may be wrong, but I believe the arc length formula given is incorrect?

Should be s=r*angle, or s=r* (angle/180) for degrees?

π * 1 = π so I'll remove it for the unit circle, but as an example, let's try solving for an arc length for the half circle. That could be represented as 180°, 0.5, or π.

π*π = 2π
π*180 = 180π (or 2π if we convert)
π*½ = ½π

The correct answer is a length of π of course. Or, alternatively, 180.

I may be misunderstanding though.

brianwaltse
Автор

I tried. I really tried.... but my brain doesn't math. I remain mathless and trig-poor.

Preview
Автор

Love the video, but one thing has me confused at about 7:20 in the video; what do you mean by using the signs(sines?) of x and y to find Theta? Every way I've thonked about it, I can't figure out how.

theveryloosegoose
Автор

I think you can convert shoot direction vector to a unit vector(vector of length 1) then you don’t have to use sin and cos in order to achieve same bullet speed in all directions.
Or may be i don’t get your idea… it is also might be computationally cheaper to normalize vector once instead of calling relatively expensive sin() and cos()

streamdx
Автор

Wow, this is a very good quality video

therealaleki
Автор

Those macaroons look great! And, wow you're extremely better at math than I am 😳if it weren't for widely available reference materials & tutorials like this, node-"coding", & code libraries, I think the math stuff would be way out for me, i've spent so little time learning maths except on an as needed or curiosity basis. The way I learn I'd have to dive deep for a long time to get math properly embedded, & mastered would take many years of course. Thats why Ive always been more the type that eyeballs things & tinkers until it feels right. 😜

macronomicus
Автор

Technical point, but I believe they are macarons, not macaroons. Macaroons are larger soft coconut cookies without filling.

TheBunzinator
Автор

Wouldn't it be easier to use Vector math for the single shot instead of Trig? Just get the direction vector (mouse pos - player pos) normalized and then multiply that vector by your speed value.

YmanYoutube
Автор

Would've been pretty funny if at the point where you're typing "circumference" you had typed "circumci..." and then corrected yourself :D

arsnakehert