I use lerp() in several parts of the code, but I can't use it in a proper way to make a layer rotation.
I want to turn de layer 5º to one side, and past one or two seconds, turn to the other side, -5º,...5...-5...
When lerp makes the transition from 5º to º0, no problem, but from -5º it seems that turns from 355 to 0 instead -5,-4,-3,-2,-1 and 0.
I try with 355 instead of -5, but I get the same result... the layer spining all around.
- LayerAngle=-5
- lerp(LayerAngle("test"),0,0.1)
Thanks!