OK so I need my car to move forward when you press the f arrow but every time you change the pan of the car, the y of the car remains the same and it moves forward on a different angle. I have heard and researched ang_rotate but it hasnt worked for me yet any solutions...
This is my code for the c_move part. if(key_cuu) c_move (player, nullvector, vector((50) * time_step, 20, 0.1), IGNORE_PASSABLE | GLIDE); Then once I change my pan it keeps going in the same direction not in the the new direction I just turned towards.