Hey so i have a sprite class, and i am making it turn 360 degrees a second, while increasing speed at the same time. However I end up spiraling and not staying on the original circle formed by the continuous turning of 360 degrees per second.
How can i fix this? The sprite needs to go faster and stay on the same path.
here’s the code:
box.Accelerate(10*Window.GetFrameTime());
box.Turn(360.0*Window.GetFrameTime());
If you want to make a sprite go in a circle, put that in the code. For example,