Is there a way to reverse .rotated()?

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

I jus want to know that if there is a way to reverse .rotated().

unrotatedValue.rotated(angle) = rotatedValue
So I want unrotatedValue in this equation.

:bust_in_silhouette: Reply From: Zylann

Using the opposite angle maybe?

unrotatedValue = rotatedValue.rotated(-angle)

Thanks! It works

tnaekc | 2020-04-24 18:55