Hi,
i want to know how i can animate the eulerAngles of a light/sun for every rotation proberty of there own?
For making a whole rotation around the y-axis, i´m using this code:
Ani.Mate.By(sun.transform, 40, {"eulerAngles": new Vector3(0, 360, 0)});
But on the same time i want to change the x-axis from zero to 180. If i write an second statement, this line overwrite the values from the first.
Ani.Mate.By(sun.transform, 40, {"eulerAngles": new Vector3(180, 0, 0)});
So what could i do?
Thanks for your help.
yosh