Hi everybody, i'm trying to make a space fighter move like it would do in space : when launched at a certain speed and a direction, it still goes straight when you stop accelerating... i'm sure you now what i mean

To do this i've tried to use a 3D vector to represent the position and the direction of the ship, and a single to represent the angle it's rotated (the game is in 2D so a single is enough to represent rotation).

What i'd like to know is how to modify direction when player accelerate but accordingly to the current angle of the ship.
Example : the player goes straight and the turn on hiself of 90AŹ? and then accelerate again, how to change his direction so it'll look "right" for the player...
I've hear a little about vectors and crossproduct and things like thant but i'm still very far away from the solution... please help if you dare !!! :twisted: (and if you understood my ugly english)

Abened