I can't make the bullet go staight.

In my game there is a charecter who is constantly spinning on himself and he has to shoot bullets, I made it so the the vector of the bullet is the same as the vector of the charecter but because the character is spinning the bullet is not going straight but its curving,I have no idea of of how to fix it.

You need to copy the vector of the bullet at firing time and not keep updating the vector every frame.