I'm having an issue where my wheel's sprite begins to visually look like it's slowing down after reaching a certain speed. I imagine what's happening is that the rotation is so fast that its eventually completing 1.00000001 full rotations a frame and thus looks very slow. If I slow the vehicle down under a certain speed threshold, the wheel looks super fast again.
Code is as such:
Has anyone come up with a solution for this? It's really killing the visual look of the game.
Code is as such:
Code:
sprite.rotation = (body.GetAngle() * 180 / Math.PI) % 360;
Has anyone come up with a solution for this? It's really killing the visual look of the game.