Beginner Question about Vector3d
I am very confused about Vector3d objects. Can someone explain them to me?
I am working on a simple game in which you fire projectiles, which means I must create a vector from the player position (which is constant, they just rotate around) in the direction they are facing, and check whether the enemy is along the vector, correct? But a Vector3d only has one set of coordinates. Wouldn't it need 2? A starting point and a second point to define direction? What am I missing here?