Function Entity.rotateFromTo
Starts a rotation tween from one set of angles to another.
Parameters
| Name | Description |
|---|---|
| anglesFrom | Starting angles (degrees). |
| anglesTo | Ending angles (degrees). |
| duration | Duration in seconds. |
| easing | Easing function (default: Linear). |
Returns
Pointer to the tween.