Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | tem12qaz |
How can I smoothly rotate objects?
Now I use “rotate” and get jerky rotation.
Thanks for a answer
by jerky, do you mean it’s instantaneous, or that it isn’t smooth?
Millard | 2020-09-28 18:10
the point is that I often need to rotate the object at small angles. it looks awful jerky. can this process be made smooth?
tem12qaz | 2020-09-28 18:32
Could you post an example of your “jerky” rotation code?
Thomas Karcher | 2020-09-28 20:21
Can I email a video and a code so you can help me? It is difficult to describe in words my idea and my problem.
tem12qaz | 2020-09-28 20:55
As Thomas requested, can you share your code here (not only for us to help you faster but for future developers who have the same question)?
Is your rotation in the _process function? And if so, are you multiplying this by delta?
aim4 | 2020-09-28 23:38
I completely forgot about multiplying by delta. Thank you, now everything is smooth.
tem12qaz | 2020-09-29 00:11
Awesome, np. glad that fixed it!
aim4 | 2020-09-29 01:13