I was trying to build something simple. Camera that moves within the defined angle range. Lets say, I have a camera and I want it to look through the area of 40 degrees, so it will move from 0 degrees to 40 degress wait 1 second and go back to 0 degress and then repeat this process endless times.
Here is what I've done, I've made a system repeat that every 3 seconds Sprite 1 will set its angle to 20 degrees wait 1 second and then set angle to 0 degrees.
The issues is that it's not rotating at all, it just jumps between the states from 20 to 0 degrees and I want the came to rotate slowely.
How can this be done?