TutorialsUnity Scripts

[Unity Script] Simple Camera Orbit Rotation

Do you want your camera rotates around an object? In this tutorial, I will show you how to create a simple one.

Final Result:



  1. Download C# class scripts: OrbitRotation.
  2. Add this class to your Main Camera.
  3. In the OrbitRotation inspector, you will see the field named: lookAtTarget. This variable is the transform which camera will orbit around.
  4. Enjoy.

Leave a Reply

Your email address will not be published. Required fields are marked *