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.

Bug Camera zooms out too far

Discussion in 'Scripting' started by TrexMatrix, Sep 4, 2023.

  1. TrexMatrix

    TrexMatrix

    Joined:
    Aug 8, 2023
    Posts:
    39
    When going to playmode the camera zooms out really far and its not supposed to, im following a tutorial and it doesnt do this for them. I'm following this.
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,383
    Nobody is programming a camera controller anymore these days. We have Cinemachine for years! Set it to 3rd person mode, assign the follow and/or target object, tweak some settings, done.
     
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    10,811
    If you're following a tutorial and you make a mistake, simply go back to the tutorial and follow it again. You must be aware that we have no access to what you've typed so far and cannot tell you what has gone wrong so the only help is to start asking you lots of questions. The responsibility is yours to provide as much information as possible and a link to a tutorial alone isn't useful because it assumes that devs are going to watch it just to help you then make the same mistakes you did. :)

    Making typos or following tutorials incorrectly or simply bad tutorials are not something the forums are for.

    The forums are here to help though so if you are just beginning and are having fundamental issues then please use the Getting Started forum.

    Thanks.
     
    Kurt-Dekker likes this.
  4. wideeyenow_unity

    wideeyenow_unity

    Joined:
    Oct 7, 2020
    Posts:
    728
    I must be the only one.. "Highlander intro plays"
     
  5. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    6,224
    Camera stuff is pretty advanced so it's not really in a beginners best interest to stonewall themselves learning how to code a camera system. If anything it's better that they learn how to use a powerful tool, something that's also crucial for a new dev to learn.

    And honestly, every game/project needs some kind of camera stuff. There's no point implementing over and over again. Better to just install cinemachine, set up to suit your project in a few minutes, and move on with the more fun stuff.
     
    Kurt-Dekker likes this.