Increasing a counter to a certain amount one unit at a time.

Hi all, this may seem really basic, but I can’t work it out (as always!) I’m trying to create a “lazy susan” type dynamic. So when a button is pressed an object rotates a set amount of degrees. I have the button doing this at the moment, but with no movement, the object rotates but instantly.

Is there a way to get this rotation visible.

The best way I could explain this I suppose is with a counter. If a button is pressed the counter would increase to 120, with the numbers counting up as they did, however I can’t work out how to get this to work without it jumping straight to the top number?! Any help would be appreciated.

regards.
Alan P.

Vector3.Lerp()

Quaternion.Slerp()…see here.

–Eric