Math is fun, especially if you can use the math to solve problems you have. In this tutorial you will learn how to use Linear Algebra to solve problems in Unity. You will learn how to solve the following problems:
How to figure out if an enemy is in front or behind you?
If you are following a series of waypoints how do you know if you have passed a waypoint?
If you are steering towards a waypoint, how do you determine if you should steer left or right?
How can you find the coordinate where a ray intersects with a plane?
How can you tell if two line segments in 2D space intersect?
Are two triangles in 2D space intersecting?