Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | dethland |
I’m rotating a 2dnode by using 'rotation += speed * delta '. The rotation will happen only if I pressed the space button. The problem is I want to make a slow out motion, in which the object will stop rotating after a short period and its speed will gradually decrease to zero.
Is there any good way to do that?
Thanks for the help.
oh, I think I found the problem. I put a while loop into the _process function.
dethland | 2020-12-02 07:15