Search Unity

Question Camera glitching

Discussion in 'Scripting' started by puddleglum, Nov 25, 2020.

  1. puddleglum

    puddleglum

    Joined:
    May 11, 2020
    Posts:
    412
    so for a while iv had a weird bug where the character looks like hes trying to clip through a collider when hes walking but theres nothing there. it looks like this (idk if the video willwork)
    ignore the watermark

    anyways i think its the camera because iv tried turning my animator off. and when i set the camera not to follow him the issue doesnt happen. what is going on here?

    ps. i use cinimachine with just a simple confiner. no special settings or anything
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,697
    Is the camera hitting the confiner? The camera's confiner won't confine your character, obviously.
     
  3. puddleglum

    puddleglum

    Joined:
    May 11, 2020
    Posts:
    412
    well there is a confiner and the camera is inside the confiner but its not hitting the edges

    when i changes upload_2020-11-25_13-52-53.png

    to upload_2020-11-25_13-53-10.png

    it stoped glitching but i dont even know what that does