Search Unity

Can't look left and right with First Person Controller

Discussion in 'Editor & General Support' started by GuiTeK, May 31, 2018.

  1. GuiTeK

    GuiTeK

    Joined:
    Apr 28, 2017
    Posts:
    12
    Hi,

    I'm trying to achieve something very basic: to be able to walk and to look around.

    I can do all this except looking left or right (rotation on Y axis I guess). However, I can look up and down.

    What I did:
    • Create a new project
    • Create a Cube in front of the camera so I can see better how I move
    • Import "Characters" package
    • Add component "First Person Controller" to the "Main Camera"
    • Set "Is Walking" to true and "Walk Speed" to 1 in the editor

    Do you know why I can't look left and right? How can I fix it?
     
  2. Jenifer_Jane

    Jenifer_Jane

    Joined:
    Jan 24, 2017
    Posts:
    69
    Remove character controller and first person controller script from camera just make your camera child object of a empty object and add script to parent object and it will work
     
    pir8-x likes this.
  3. jeepjk

    jeepjk

    Joined:
    Sep 2, 2020
    Posts:
    1
  4. BenCarterWasTaken

    BenCarterWasTaken

    Joined:
    Oct 8, 2020
    Posts:
    1
    that doesnt make sense tho
     
  5. Jenifer_Jane

    Jenifer_Jane

    Joined:
    Jan 24, 2017
    Posts:
    69
    well works for me in past...are you using stranded asset fps controller..? coz if its custom it will not work
     
  6. jemmuelmontealto

    jemmuelmontealto

    Joined:
    Mar 26, 2021
    Posts:
    1
    I wonder If you can explain it more because I don't understand. Please?
    Whenever I look Left or right It looks like Im falling.