Help me, first project!

I’m doing a solar system and I am hard of how to move the camera in my project, I would implement the same camera in this video tutorial:

At 8:38 of the video it puts a script and at 8:56 he puts another script … I wonder if anyone knows how to do these script, where to start … or is there another way to do the same movement camera … the image below is my project.

It is my first project i am beginner with Unity.
Thank you!

1 Answer

1

How exactly do you want to rotate Camera… do you want it to follow earth or?

You can do that by addind Addforce function
Or by using

   float move1=1;
   float move2=1;
    void Update() {
        transform.position = new Vector3(move1,move2,0f);
         move1++;
         move2++;
    }

Something like that… if you know C# you can configure it to follow circle around the sun…