© Kelvin Sung, Gregory Smith 2019
K. Sung, G. SmithBasic Math for Game Development with Unity 3Dhttps://doi.org/10.1007/978-1-4842-5443-1_4

4. Vectors

Kelvin Sung1  and Gregory Smith2
(1)
Bothell, WA, USA
(2)
Everett, USA
 
After completing this chapter, you will be able to
  • Understand that a vector relates two positions to each other

  • Recognize that all points in space are position vectors

  • Comprehend that a vector encapsulates both a distance and a direction

  • Perform basic vector algebra to scale, normalize, add, and subtract vectors

  • Apply vectors to control the motions of game objects

  • Implement simple game object behaviors like aiming and following

  • Design and simulate simple external factors like wind conditions to affect object motion

Introduction

So far, you ...

Get Basic Math for Game Development with Unity 3D: A Beginner's Guide to Mathematical Foundations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.