Discuss Scratch

my-class
Scratcher
22 posts

How do you use trigonometry in games and how do you know when to use trigonometry in programming?

Please give me a good explanation please thank you
([sin] of (9))
( of (9))

( of (9))




CT-7569
Scratcher
100+ posts

How do you use trigonometry in games and how do you know when to use trigonometry in programming?

Trigonometry is related to angles in a right-angle triangle.


(image src: Wikipedia)

sin(A) = a/h;
cos(A) = b/h;
tan(A) = a/b.
Hex4Nova
Scratcher
1000+ posts

How do you use trigonometry in games and how do you know when to use trigonometry in programming?

Found this really good presentation that even uses scratch blocks as examples. Take a look!

https://prezi.com/fozjzdqmlhta/trigonometry-in-game-development/
my-class
Scratcher
22 posts

How do you use trigonometry in games and how do you know when to use trigonometry in programming?

Thanks everyone espicailly Hex4Nova!

Powered by DjangoBB