Math - Dot Product

In this lecture we look at the dot product of two vectors.
This is useful for working out the directional similarity of vectors but can also be used to find the angle between them.

Did you manage to solve the mini-challenge?

What is the angle between the enemy’s forward vector (1, 0) and the vector to the player (-3, 4)?
Is the player within the enemies line of sight?

Post your answers below and remember to use the spoiler tags.

1 Like

I got -3/5
I then plugged it into the equation acos(-3/5)

My final answer is 127 by rounding up.

1 Like

Privacy & Terms