How to use Cinemachine's Free Look Camera | 3rd Person Camera in Unity

Поділитися
Вставка
  • Опубліковано 10 лип 2024
  • Trying to make a 3rd person game in Unity? Look no further than Cinemachine and the Free Look camera. In this ultimate guide you'll learn about every property that the Free Look Camera has to offer!
    LEARN MORE ABOUT CINEMACHINE:
    ✅ on.unity.com/3QokVdC
    ✅ on.unity.com/3Q4XKVZ
    ✅ • How to use Cameras in ...
    ✅ • How to use Cameras in ...
    ACCESS PROJECT FILES & SUPPORT THE CHANNEL:
    💛 / iheartgamedev
    iHeartGameDev Merch:
    💛 www.iheartgamedev.com
    ✦ Like the vid? Please consider Subscribing!
    bit.ly/2YdIb6j
    SOCIAL:
    ✦ Discord
    / discord
    ✦ Twitter
    / iheartgamedev
    LINKS FROM THE VIDEO:
    🤖 Download Jammo for YOUR game:
    assetstore.unity.com/packages...
    ⭐ And Check Out @Mix and Jam !
    / mixandjam
    ►TIMESTAMPS:
    Unity Approved & Sponsored: 0:00
    Intro: 0:31
    How to Add the Free Look Camera: 0:51
    Follow Target Property: 1:20
    The Free Look Camera Rig Break Down: 1:38
    Look At Target Property: 2:30
    Using New Input System: 3:06
    Cinemachine Camera Standard Properties Section: 3:32
    Axis Control Properties Section: 5:51
    Hidden Axis Control Properties: 7:37
    Recentering on the X Axis: 8:11
    Orbits Properties Section: 9:21
    Body and Aim Properties Section: 10:31
    What is Damping: 10:45
    How to adjust the camera's focus point: 11:32
    Group Composer Properties: 13:07
    Other Choices for Aim: 14:05
    NEXT TIME: 14:41

КОМЕНТАРІ • 95

  • @iHeartGameDev
    @iHeartGameDev  Рік тому +12

    Happy weekend everyone 💛 I'm excited to share a brand new tutorial with all of you. A bit nervous because it's my first time sharing a video on a Saturday. Hope to see you live at 11AM EST!
    Cheers!🍻 -Nicky

    • @Tryste
      @Tryste Рік тому +1

      Your videos could honestly be official Unity tutorial

  • @beewwl
    @beewwl 9 місяців тому

    Great video, just what I was looking for. Very structured and simply explained, I could easily follow along without getting bored or losing the thread. Keep it up.

  • @jimisroommusic
    @jimisroommusic Місяць тому

    Awesome tutorials on this channel! Very grateful to find someone who takes their time to explain to the newcomer rather than try to see how FAST they can fly thru it. great job.

  • @StevenLoprese
    @StevenLoprese Рік тому +6

    Dude, this was so thorough! Love that! Just discovered your channel today and I am definently subscribed. Can't wait to see what else you put out. Please keep up with the clear, concise, and thorough explanations. Nobody else on UA-cam is doing it quite like you.
    Thanks!

    • @iHeartGameDev
      @iHeartGameDev  Рік тому

      Hey Chester! Thanks so much for the kind words! I'm definitely excited to keep learning and sharing with everyone :)

  • @haroonyousaf2427
    @haroonyousaf2427 5 місяців тому

    The most detailed video on UA-cam, hat's off to you and your effort.

  • @hawkgamedev
    @hawkgamedev Рік тому +26

    It's amazing the amount of detail and the time you invest in making these videos just wow and thanks for such an insighful view of the cameras.

    • @iHeartGameDev
      @iHeartGameDev  Рік тому +1

      Thank you for your kind words of support and for watching! Appreciated you being at the premiere!

    • @dlighthaus
      @dlighthaus Рік тому

      I agree that these are incredibly well produced, scripted, and edited. Super super clear and well explained. Have watched several and will watch more of your stuff now.

  • @duztine
    @duztine 9 місяців тому

    Awesome. Well explained and well edited

  • @dkbozkurt
    @dkbozkurt Рік тому +4

    You are the new Brackeys of UA-cam. Thank you so much dude. You are great !!!

  • @charlesonis3484
    @charlesonis3484 Рік тому +1

    Another great & Informative video! Cheers!

  • @prazo_20
    @prazo_20 Рік тому +2

    Yo ive been waiting since for this tutorial

  • @lucasfarias1148
    @lucasfarias1148 Рік тому +4

    Wonderful video, very detailed and nicely explained!
    Thank you so much for this!

  • @ayushjadhao1001
    @ayushjadhao1001 6 місяців тому +1

    man i just want to say i heart you , your tutorials are amazing

    • @iHeartGameDev
      @iHeartGameDev  6 місяців тому

      Hey! That means so much to me. Thank you and happy holidays!

  • @CleanDay420
    @CleanDay420 Рік тому +1

    you the best man. Love seeing your videos in my feed!!!

  • @geronimoangiolillo6769
    @geronimoangiolillo6769 Рік тому +1

    i love you, thanks for all the videos

  • @sxsignal
    @sxsignal Рік тому

    This is a great video, one thing I did not see is the ability for the user to zoom in/out while still in freelook.

  • @cenkgultekin7427
    @cenkgultekin7427 3 місяці тому

    A unity3d cinemachine tutorial that explains things even better than Unity3d. Awesome visualisation!!

  • @prazo_20
    @prazo_20 Рік тому +5

    thanks this really helped me understand the concepts of cinemachine and i know that this video has helped a lot of people! Keep up the good work goodluck

    • @iHeartGameDev
      @iHeartGameDev  Рік тому +2

      Thank you Prazo!

    • @prazo_20
      @prazo_20 Рік тому +1

      @@iHeartGameDev Hello iHeartGameDev pls i dont know but after watching your previous video on camera realtive movement i used the old code for the input package "Input.GetAxis" but it keeps telling me that i have switched to the new input system which makes me confused on how you did it very easy and flawless so please i was wondering if you could help me pls

    • @prazo_20
      @prazo_20 Рік тому +1

      @@iHeartGameDevBecause you said whether we were using the old or new input system that we would still have to use the Input.GetAxis statement so am really really confused and pls if any one has a suggestion or solution pls pls reply as soon as possible thank you

    • @iHeartGameDev
      @iHeartGameDev  Рік тому +1

      @@prazo_20 hi! You cannot use getAxis if you switched to the new input systems you’ll need to use the movement input values returned from the new input system’s callbacks

    • @iHeartGameDev
      @iHeartGameDev  Рік тому +1

      @@prazo_20 alternatively you can turn both the old and new input on in the project settings

  • @RoamStarts
    @RoamStarts 6 місяців тому

    every much helpful and need thank you

  • @uni-mal4433
    @uni-mal4433 10 місяців тому

    Amazing!

  • @crummymudd8625
    @crummymudd8625 Рік тому

    Congrats on Unity sponsoring you, and nice hoodie! I watched the previous video on Virtual Camera, and wondering what is difference to Free Look Camera. Free Look looks like it inherits from Virtual, so presumably has more features, but at more cost. Why choose one or the other? Considerations, or particular use cases?

  • @lejocarry
    @lejocarry Рік тому +2

    Nice video ♥

  • @hackerbot9123
    @hackerbot9123 Рік тому +3

    hello Sir i❤Gaming Thanks For Making These Tutorials And Sharing Your Hard Earned Knowledge To us For Absolutely Free I Hope You Wont Stop This And Seriously Pray To God That You Reach 1M Subscribers Very Sooon Thankyou So Much ❤

    • @iHeartGameDev
      @iHeartGameDev  Рік тому +3

      Thank you for your kindness hackerbot!

    • @hackerbot9123
      @hackerbot9123 Рік тому +2

      @@iHeartGameDev Thanks For Being There For Us ❤

  • @thirdeyenz
    @thirdeyenz Рік тому +1

    Thanks for doing this, it's really helpful. Also just an FYI, spline is pronounced like sply-n, not like spleen. Think of it as rhyming with vine.

  • @neinxxl1440
    @neinxxl1440 10 місяців тому

    amazing

  • @kavyanlavti299
    @kavyanlavti299 Рік тому

    please publish more videos about cinemachine's different properties and uses as you said in 2nd video of your series..

  • @mayank4687
    @mayank4687 Рік тому +1

    Simplified, detailed & beautifully explained.
    Thanks! :)

  • @prazo_20
    @prazo_20 Рік тому +3

    Hope its worth the hype man

  • @ovdjenekonebitan3291
    @ovdjenekonebitan3291 Рік тому

    Can you help me with making my free look camera move only when i hold tight click? I am struggling to make it 😢

  • @ggwp8618
    @ggwp8618 Рік тому

    Can you please do a tutorial on "Character climbing slopes properly using feet IK"
    There is no good tutorial on the Internet about this issue

  • @Diabl069
    @Diabl069 Рік тому

    I have made a game using cinemachine, I want to convert it into multiplayer. So, i set up the photon(PUN2) ..but cinemachine is not working properly. Any solutions?

  • @jayrome9946
    @jayrome9946 Місяць тому

    please tell me how to make an overview of the camera using the right mouse button?

  • @farhanzakaria8157
    @farhanzakaria8157 Рік тому

    my character runs in the wrong direction when i turn the camera 180 degrees(on face player char) ,can u help me

  • @ObiWineKenobi
    @ObiWineKenobi 6 місяців тому +1

    This is awesome thank you. Just wondering how to prevent the camera from moving up and down on the Y when the player jumps? I just want the camera to not move when the player jumps. Thank you.

    • @iHeartGameDev
      @iHeartGameDev  6 місяців тому +1

      I believe you could probably have a hidden object that follows the player's movement, except for when they jump and have the camera follow that instead!

    • @ObiWineKenobi
      @ObiWineKenobi 6 місяців тому

      Cheeers!@@iHeartGameDev

  • @misterzayd_
    @misterzayd_ 7 місяців тому

    I have a problem where it says no cameras rendering can you tell me how to fix it.

  • @prazo_20
    @prazo_20 Рік тому +2

    Ive even got my unity game project, my browser and vs open, ready and set
    🤣🤣😂😂

  • @nikz000
    @nikz000 2 місяці тому

    How can I put it to the side like the Witcher? Offset doesn’t work

  • @mohsenmousavi2313
    @mohsenmousavi2313 Рік тому +1

    ♥♥♥

  • @prazo_20
    @prazo_20 Рік тому +1

    I think its my void Enable and Disables from the Animation And Movement Script i dont know

  • @Dominik-K
    @Dominik-K Рік тому +1

    Looking forward to the extra video to recreate Super Mario's camera

  • @smitpanchal889
    @smitpanchal889 Рік тому

    I can not use free look mode with in editor in mixed reality why is it so?

  • @carlos_7x
    @carlos_7x 5 місяців тому +1

    How can I switch between cameras? Should I create two, one disabled, and then doing the SetActive(false/true) by script?

    • @iHeartGameDev
      @iHeartGameDev  5 місяців тому +1

      Through a script you can change the priority of referenced cameras. The highest priority camera will be what the cinemachine brain will use!

    • @carlos_7x
      @carlos_7x 5 місяців тому +1

      @@iHeartGameDev Thanks for the response, it worked. Quick question, is there any tutorial to follow that explains how to "clamp", or NOT follow the player when it's jumping? Kind of what we get in Mario Odyssey. That's the effect I have been trying to achieve with no success. Thanks again.

    • @iHeartGameDev
      @iHeartGameDev  5 місяців тому

      @@carlos_7x hey again! I think you'd want to create a target that follows the player while they are "grounded", that way when they jump, the target is still at the same position on the y axis. If they land at a different elevation, the target would lerp its way over to the new position. The camera would follow the target instead of the player.

    • @carlos_7x
      @carlos_7x 5 місяців тому +1

      @@iHeartGameDev Ok, the lerp thing did it. It works perfectly, thanks a lot!!! :D

    • @iHeartGameDev
      @iHeartGameDev  5 місяців тому

      @@carlos_7x happy to help! Feel free to hop into the channel discord and show off your work. Would be happy to see it!

  • @SozINh
    @SozINh 2 місяці тому

    mine doesnt automatically create a brain, and it doesnt automatically follow behind player after setting it as the target.

  • @prazo_20
    @prazo_20 Рік тому +1

    I dont know if the problem is with the camera cause am using cinemachine freelook

  • @prazo_20
    @prazo_20 Рік тому +1

    I dont know but it keeps telling me Null Reference: Object Reference not set to the instance of an object and Ive had these errors before and solved them myselves with no help but this is hard to crack

    • @iHeartGameDev
      @iHeartGameDev  Рік тому +1

      You are best off joining the channel discord and asking for help from the community 😊

    • @prazo_20
      @prazo_20 Рік тому +1

      @@iHeartGameDev oh okay ill do that right now

  • @Telesto_Timelost
    @Telesto_Timelost Рік тому

    The camera just keeps flying away. Does anyone know how to fix it?

  • @ElmoLovesYou2
    @ElmoLovesYou2 9 місяців тому

    why 60fps for tutorials? its hard to surf video on high speed (laggy jumps on timeLine)

  • @LlamAcademy
    @LlamAcademy Рік тому +1

    Thanks Nicky ♥
    Is it really "sp-lean"? I always said "sp-line"...now I'm questioning my life

    • @iHeartGameDev
      @iHeartGameDev  Рік тому +1

      Lmao! It turns out, I am wrong!!

    • @LlamAcademy
      @LlamAcademy Рік тому

      @@iHeartGameDev 😂 well, at least now we both know!

  • @mahersabit9265
    @mahersabit9265 Рік тому

    i feel like im the only one having this problem with cinemachine where the camera keeps moving in and out when ever i move forward, i feel like its a damping problem

  • @prazo_20
    @prazo_20 Рік тому +1

    Am still writing the code in the animation movement script

  • @prazo_20
    @prazo_20 Рік тому +1

    You know am using ur code from the animation and movement video right? I'll setup my own script later

    • @prazo_20
      @prazo_20 Рік тому

      I just need to get this right for now

  • @idle.observer
    @idle.observer 10 місяців тому

    Hey! Where's the new video 😠 We want 2d tutorials for Cinemachine!

  • @NeoLoveCookie
    @NeoLoveCookie Рік тому +1

    what the name of game in 6:05?

  • @dacriaxvgr
    @dacriaxvgr 3 дні тому

    Day #idon'tevenknow waiting for the FPS Controller with cinemachine and the input system

  • @paulkruger4156
    @paulkruger4156 2 місяці тому

    Pity the camera jumps all over the place when strafing in a 5x5 grid environment. Side step by 5 and the camera goes nuts. Makes it completely unusable!

  • @wassimtahraoui9888
    @wassimtahraoui9888 Рік тому

    what's the name of the game in 6:04

  • @protophase
    @protophase 8 місяців тому +3

    Why is my camera aiming at my character's feet?

    • @jeffreysimpson3109
      @jeffreysimpson3109 6 місяців тому +3

      Create a separate empty as a follow point! Using your character it's probably coming the objects origin, probably located at his feet

  • @homerbyrd1223
    @homerbyrd1223 Рік тому

    p͎r͎o͎m͎o͎s͎m͎