Hey guys
I have a new question for you all, I'm trying to make a car that faces a direction, when the user holds W it will increase the speed, if S is held it will slow down the car, if A or D is held the car will turn in the right direction, so for example
Car is facing North (0 degrees)
Car speed is 4.
player holds D
carDirection += 5
so if the player is holding W and holding D the car will increase and start turning right, but will keep going round in circles and circles.
How can I implement this with SFML and C++???
Cheers