© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
K. Sung, G. SmithBasic Math for Game Development with Unity 3Dhttps://doi.org/10.1007/978-1-4842-9885-5_4

4. Vectors

Kelvin Sung1   and Gregory Smith2
(1)
Bothell, WA, USA
(2)
Caldwell, ID, 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 ...

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.