I have a spaceship (hollow arrow in picture) that is travelling with a velocity (dotted line).
What I need to do is get the vector of the black solid line. I don't quite know how to describe it or what it is called =)
Some examples (see attached picture):
(A) When the ship is facing in the direction of the velocity vector I want the velocity
(B) As I have turned 45 degrees to the left, I want the partial vector based on the direction I am facing
(C) If I turn a little another 20 degrees I want a smaller piece of the vector (black arrow is my estimation)
(D) When I come 90 degrees the spaceship is sliding completely sideways and I want vector zero
(E) If I still continue to turn 45 degrees I want the equivalent magnitude (B) but facing backwards from my spaceship
Does anyone know what this phenomenon is called and how I get this vector? =)

Reply With Quote