Im in the debug mode for my game and when i turn it spins really fast

when turning in debug mode for my game the player randomly spins in an odd fashion

If you’re doing your rotation in the update function, make sure you’re multiplying the rotation value by dt

do you have code for it or is it a built-in function?

Keep in mind, I’m just making assumptions because I cannot see your code. If the rotation in in the update function it should be built in. Just multiply the value you’re rotating by dt.

So if you’re doing something like this.entity.rotateLocal(0, 0, -45); it would become this.entity.rotateLocal(0, 0, -45 * dt);