Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Automatic Moving Cameras

Discussion in 'Scripting' started by TheGameProgrammer123, Mar 14, 2016.

  1. TheGameProgrammer123

    TheGameProgrammer123

    Joined:
    Feb 22, 2016
    Posts:
    31
    Hello there.

    I need to make an automatic moving camera, but I do not know how to do it.
    Does it need scripting? Is there such thing as trails?

    Please help me.
    Thanks
     
  2. gorbit99

    gorbit99

    Joined:
    Jul 14, 2015
    Posts:
    1,350
    I dont realls know what you mean by "automatic". If it needs to follow the player, simply parent it to the gameobject itself. Trails do indeed exist, but they have nothing to do with cameras, they are just like a particle effect.
     
  3. TheGameProgrammer123

    TheGameProgrammer123

    Joined:
    Feb 22, 2016
    Posts:
    31
    By automatic I mean the camera is moving by itself in certain directions. Is there a way to achieve this?
     
  4. TRG96

    TRG96

    Joined:
    Mar 26, 2011
    Posts:
    102
    you animate the camera. Move and rotate the camera and create an animation just like normal object
     
  5. ericbegue

    ericbegue

    Joined:
    May 31, 2013
    Posts:
    1,353
    Actually, making a game consists of automatizing plenty of things including the camera. So, yes, you need to write scripts for that.