Search Unity

Question camera move up and down while moving

Discussion in 'Cinemachine' started by feras553, Apr 23, 2021.

  1. feras553

    feras553

    Joined:
    Apr 22, 2021
    Posts:
    2
    hi i have a weird problem when i move my character while using cinemachine the camera go up when i move forward and down when i move to the back how can i stop this
    i didn't found any better words to describe the problem i wish you can understand what i mean and ty
     
  2. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    637
    I think we'll need more information to help on this. Could you post a screenshots of your virtual camera's inspector, and maybe a short video showing the incorrect behavior?
     
  3. feras553

    feras553

    Joined:
    Apr 22, 2021
    Posts:
    2
    sorry it doesn't allow to post a video
     

    Attached Files:

    • 2.png
      2.png
      File size:
      64.5 KB
      Views:
      305
    • q.png
      q.png
      File size:
      81.1 KB
      Views:
      298
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,730
    Have a look at the AimingRig sample scene shipped with CM. Is that closer to the behaviour you're looking for?
     
  5. thatflynnster26

    thatflynnster26

    Joined:
    May 7, 2021
    Posts:
    2
    If you're using a freelook camera, setting the x, y, z damping to 0 for all three rigs might fix your problem. You can find them under Orbits > Top/Middle/BottomRig.
     
    lionstrike2_unity likes this.