Hey there,

what’s a good way to let a dynamic light (sun) rotate 360° in a specific amount of time.

I’m trying it with Quaternion.Slerp but the sun doesn’t rotate when i increase the end position to exactly 360° (i guess because the transform rotation would be the same).

```
IEnumerator DayCycle()
{
float time = 0;
float duration = 10f;
Quaternion start = Quaternion.Euler(80,-25,0); // start rot
Quaternion end = Quaternion.Euler(440, -25, 0); // stop rot (+360° on x-axis)
while (time < duration)
{
sun.rotation = Quaternion.Slerp(start,end, (time / duration));
time += Time.deltaTime;
yield return null;
}
sun.transform.rotation = end;
}
```

Some ideas would be great

Greets