I have a camera set up in my scene to rotate around a planet with player input. This uses the RotateAround method and works well. I want to have my camera rotate around the planet automatically like that but stop when it reaches a point.
The code I’m using to rotate using player input:
//center is referring to the center of the planet
I’ve tried using iTween, but I don’t like using very much. Is there a way to rotate around to a point using RotateAround or something similar? Thanks in advance.