You are on page 1of 19

TITLE :

Trigonometry On
Gaming Development
INTRODUCTION
What is trigonometry in gaming developer
Trigonometry is basically calculations in all
video games, there are many triangles
making up different components it is a
mathematical technique that with angles
and lengths
For examples :
If you want to work out the distance
between two objects in a game, just simply
draw a triangle connecting them, the use
trigonometry to estimate the distance of an
object
Application of trigonometry in gaming
development
• When are we ever going to use this!?

Trigonometry is used extensively in game development


in order for the game to function. Trigonometry is used
in writing the programs for games so that objects can
move.
Its, also used for designing objects, characters, and sets.
Game progamming
diagram :

When programming a game the positions and speeds of objects need to


be written using x and y Finding the positions and speeds of objects
involves the use of triangles.
Therefore, it's necessary to use trigonometry to find x and y values and put
it into code
Mathematical solution with
drawings or diagrams in gaming
developmet
For ; example minecraft
x = 10 / tan(51°) = 8.1 (2 significant digits)
H = 10 / sin(51°) = 13 (2 significant digits)
x = 10 / tan(51°)
=8.1 (2 significant
digits)

H = 10 / sin(51°)
= 13 (2 significant digits)
2. Angry Bird
3. Mario Super Bros
Conclusion
Q AND A Session

You might also like