Search Unity

Question Stumped on how to create a Mario style 3D Camera with Cinemachine

Discussion in 'Cinemachine' started by SuperColom64, Jun 21, 2020.

  1. SuperColom64

    SuperColom64

    Joined:
    Jun 9, 2020
    Posts:
    4
    Hey all, been trying to learn Cinemachine as I realized it's an insanely powerful tool for Unity, and I've been challenging myself to create a camera system like the one seen in 3D Super Mario games.

    As for my current progress, I've implemented a basic character controller but I'm running into an issue with the Cinemachine camera, though I think I already have most of the the work done (I think)

    Basically moving from a diagonal input straight to a completely forward one makes my character awkwardly drift forward as seen here:


    Here's some reference footage explaining what I would prefer for it to look like (at 0:29 seconds in, you can see Mario go from a diagonal to a completely forward input much more comfortably)



    I would really appreciate some help on this, thanks :)
     
    Last edited: Jun 21, 2020
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,728
    Try setting the horizontal dead zone to 0, and adding a bit of composer damping instead.