alright well im making an asteroids clone and i have all the basic movement/acceleration down, the ships rotation is based on the mouse position, and up accelerates towards it and down decelerates
i was wondering how i would make it so when you press right it would rotate the ship around the mouse position counterclockwise and when i press the left key it would do the opposite,
its probly something like the sin value would constantly subtract one(x) value while the cosine value would constantly add one(x) value at the same time, thus keeping the distance the sameā¦?