How to fix animation that objects turn around itself

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Brave

I figure that it turns around itself when the value comes positive from negative. But I don’t know the way to solve that.

:bust_in_silhouette: Reply From: exuin

Make sure that the value doesn’t change sign. Add 2 PI or subtract 2 PI from the value until the sign is the same.