+1 vote

Watch the attached image - each time the artwork reaches a 90 degree angle, the rotation seems to "pause" before moving on. It's really distracting...

enter image description here

This is the code that's rotating it;

func _process(delta):
    rotate(radians_per_seconds * delta)

radians_per_seconds is currently 0.5

I think this has something to do with the game running at a low resolution. Is there any way to avoid this? It's not noticeable with faster rotations, but I want a slow rotation.

in Engine by (21 points)
edited by

Have You tried to animating rotation with an animation palyer ? Its a little bit more work than this simple script but maybe it will not freeze

Thank you for the advice. But I need to get to the heart of the issue because I'll be doing more with rotation and pixel art games in the future.

Np. I know it may be stupid but did You check if it behave the same inside:

    rotate(radians_per_seconds * delta)


Sorry for the delay. I don't think I have that function in Godot 2.4.1, but I doubt that would fix the problem if it did, but thank you though.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.