• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Trigonometry 101 > Why Learn Trigonometry?

Why Learn Trigonometry?

When programming a game, you'll often need to do things like find the distance between two points or make an object move. (In fact, very often!) Here are a few examples:

  • Rotating a spaceship or other vehicle

  • Properly handling the trajectory of projectiles shot from a rotated weapon

  • Calculating a new trajectory after a collision between two objects such as billiard balls or heads

  • Determining if a collision between two objects is happening

  • Finding the angle of trajectory (given the speed of an object in the x direction and y direction)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint