Third Person Camera System using Cinemachine in Unity

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 171

  • @dannygibson2850
    @dannygibson2850 5 лет назад +60

    For anyone checking out this video now (2019), the axes for PS4 controller's x axis is 3rd Axis an the y axis is the 6th axis

    • @kmud7750
      @kmud7750 3 года назад +1

      Replying to thank you and to let others know that this worked!

    • @i1234pipio
      @i1234pipio 2 года назад +1

      god bless you

  • @clarkmeyer7211
    @clarkmeyer7211 2 года назад +5

    I had a simple question that no one would bloody well answer and then I find this and you answered it perfectly. this is a gem and even being 3 years old this video is 100% relevant

  • @tomascampo2283
    @tomascampo2283 8 месяцев назад

    i am just half of the tutorial and you already covered the basics awsomely, i will comment at the end again to tell you my progress!

  • @zankaster3935
    @zankaster3935 6 лет назад +13

    Thank you for this straightforward introduction to Cinemachine

  • @cranial3308
    @cranial3308 5 лет назад +2

    Mix and Jam lead me here!!! Thanks for amazing tutorial Filmstorm

  • @nielsvdmarel
    @nielsvdmarel 6 лет назад +5

    This is so interesting! the quality and control you have with these components is insane! Thanks for the great video!

  • @CodexCornerGames
    @CodexCornerGames Год назад +3

    This video is perfect. Simple, concise, to the point - I love it. You've got yourself another sub. How would you adapt this for first person though? I'm looking to use this controller but I need it to work the same way in first person. I'd appreciate a response, thanks.

    • @Filmstorm
      @Filmstorm  Год назад

      The actual principal is the same but I recommend setting the offset basically to zero and turn off obstacle avoidance as it’s rotating on the spot. Cinemachine might be a bit overkill for a first person camera as well, but definitely achievable let me know how you go.

  • @gyrich
    @gyrich 5 лет назад

    Found your vid by accident while doing another tutorial series on 3rd person game setup. I just got to the step in that series that introduces Cinemachine, but your vid covered it much more in depth. Thanks so much!

  • @MoTheBlackCat
    @MoTheBlackCat 5 лет назад +1

    Thank you for opening my Cinemachine chakras I'm once reminded of the greatness of this package!

  • @MacMan2152
    @MacMan2152 5 лет назад

    the first 3 minutes are enough to set up a third person camera. Good video.

    • @Filmstorm
      @Filmstorm  5 лет назад

      We are glad it helped you out 👍🏼

  • @medmel2160
    @medmel2160 5 лет назад +9

    What you're bringing to the unity community is great job.
    Your videos are very friendly for beginners, it's fresh air for me !
    +1 sub !
    (and I love your music !)

    • @Filmstorm
      @Filmstorm  5 лет назад +2

      Hey Med Mel! Thanks for watching and for the kind words, really appreciate it. 👍🏼

  • @ve110cet
    @ve110cet 5 лет назад +6

    This is WAAAY better than any of the official Unity tutorials! I would love to see a version of the Third/First person camera that you have without Cinemachine done in Cinemachine!

  • @Lukeibol
    @Lukeibol 5 лет назад +1

    Guys, if you think even with all the adjustments your character are going right, click on add extension on the bottom of cinemachine configuration and add cinemachine offset and put the X axis on 0.4, for me worked like a charm.

  • @nicholasnicoletti8253
    @nicholasnicoletti8253 5 лет назад +1

    Thank you for this! Through the scripts provided and the Cinemachine tutorial I learned a lot about using Unity. Keep it up!

  • @reznolf
    @reznolf 5 лет назад +8

    You're a god and you've earned yourself a believer !

  • @Oxmond
    @Oxmond 4 года назад +2

    Great tutorial! Unity's Cinemachine rocks! 👍🤓

  • @siddharth617
    @siddharth617 3 года назад

    Thanks a lot !! I found this better suited to me, than the official Unity Tutorial : )
    Would love to see more such content from your channel ! Keep up the good work : )
    *Subscribed*

  • @lemetamax
    @lemetamax 5 лет назад +1

    Thanks for this video! It's the exact cinemachine tutorial that I've been looking for. I've not had the best game visualization even when I've experimented with cinemachine. You've got a sub!

    • @Filmstorm
      @Filmstorm  5 лет назад +1

      Thanks Chiagozie! Really appreciate you taking the time to watch 👍🏼

    • @lemetamax
      @lemetamax 5 лет назад

      Can you also show a movement script, where the playable character moves forward in relation to where the cinemachine camera is looking at?

  • @dhananjaykulkarni3641
    @dhananjaykulkarni3641 5 лет назад +3

    I finally found what I wanted
    Really Thanks!!!

  • @fauzannrifai
    @fauzannrifai 4 года назад +3

    ur opening music break my ear, but I love ur tutor :'D

  • @tubertmorti8282
    @tubertmorti8282 4 года назад +1

    All day. I've been trying to make this. And my future wife, Cinemachine could do it for me.

  • @kawaiilily7907
    @kawaiilily7907 5 лет назад +5

    Thank you so much! You are awesome, your voice is awesome, good to listen to too. You are understandable, you know what you are talking about and you are very good at explaining things simply. I believe your channel will grow in no time c: Actually love ya ♥ Keep doing what'chu doing!

    • @Filmstorm
      @Filmstorm  5 лет назад +3

      Thanks so much Kawaii Lily! 👍🏼

  • @ProtopopGames
    @ProtopopGames 5 лет назад

    This was super helpful. Ive been looking to upgrade my player camera and this helped immensely, and looks great. Thank you for creating and sharing this.

  • @MrQwerty2524
    @MrQwerty2524 5 лет назад

    Amazing. Professional grade camera system in 19 minutes... Thanks Unity!

  • @pedropaulovilacacosta4564
    @pedropaulovilacacosta4564 4 года назад +4

    How do you make the character move based on tge camera's direction?

  • @drr1867
    @drr1867 4 года назад

    Really nice tutorial - helped me a lot. Thank you.

  • @btiwari-games5279
    @btiwari-games5279 5 лет назад

    Possiblities are endless here thanks for tut :)

  • @nikshepamin8570
    @nikshepamin8570 4 года назад +4

    Where Can I Find 3rd Person Controller Coding Tutorial From Scratch.

  • @wearwolf4202
    @wearwolf4202 4 года назад +1

    How do I get the player to follow the direction of the camera. Basically w is forward based on the forward of camera im have so much trouble figuring it out. This is the closest video I've found that helped a little

  • @SanthoshKumarfojoheartthrobe
    @SanthoshKumarfojoheartthrobe 6 лет назад +2

    Awesome.. please make a tutorial on blending cameras between cutscenes and gameplay

    • @Filmstorm
      @Filmstorm  6 лет назад

      Yes that's one of the next tutorials :)

    • @iggythemad
      @iggythemad 5 лет назад

      I'd love this too! I wanna be able to switch bitween cameras when weapons are drawn.

  • @omar_njai3
    @omar_njai3 5 лет назад +3

    is there a way to constraint the Y position of the camera? as when ever my character jumps the camera tends to follow and produces an undesired change in the scene view

  • @fradyDK
    @fradyDK 5 лет назад +8

    the link does not work anymore? :(

    • @Filmstorm
      @Filmstorm  5 лет назад +4

      I will update the link shortly for you 👍🏼

    • @fradyDK
      @fradyDK 5 лет назад

      @@Filmstorm When would the link be up? :-)

    • @fradyDK
      @fradyDK 5 лет назад

      @@Filmstorm Hi, I don't want to stress you guys out, but when will the link work again? :)

    • @medmel2160
      @medmel2160 5 лет назад

      @@fradyDK relax, he said he will do it

    • @fradyDK
      @fradyDK 5 лет назад

      @@medmel2160 sorry, I am just so hype to play around with it!

  • @StephenWebb1980
    @StephenWebb1980 6 месяцев назад

    If you want an over-the-shoulder offset there's a better way, just add the CinemachineCameraOffset extension. There's no need to mess with the screen offsets there

  • @baohua1603
    @baohua1603 5 лет назад

    Thanks for free project, it works for me. Thanks a lot.

  • @IndieFist
    @IndieFist 4 года назад

    Can you check the project files? there is no more available to download

  • @kingdaygaming8461
    @kingdaygaming8461 4 года назад +3

    When I try to download the project, it says error 404 :/ please help

  • @SugarPvP123
    @SugarPvP123 5 лет назад

    that intro scared the fuck out of me LOL

  • @thrasherofthestars4741
    @thrasherofthestars4741 5 лет назад

    If anyone is having problems using a PS4 controller for the camera, X input is on the 3rd Axis, whereas Y Input is on the 6th Axis.

  •  5 лет назад +1

    How do you make it to where the player or "model" turns around when you are facing forward and then you suddenly press the "S" button. Like making a U turn to turn around.

  • @thecynicalsprite1847
    @thecynicalsprite1847 4 года назад +6

    How do i get my character to move with the camera? I can be pressing forward and he will still go in the same direction regardless of where the camera is.

    • @Radiofloyd
      @Radiofloyd 3 года назад

      Did you ever figure this out? I'm trying too and since I'm green, I'm so lost.

  • @PersonalAccountIndeed
    @PersonalAccountIndeed Месяц назад

    Do we think this is a better system than the Third Person Controller starter asset that released around 2021?

  • @mr.hunter2348
    @mr.hunter2348 2 года назад

    Here is my like good man, thank you.

  • @mapachu6959
    @mapachu6959 6 лет назад +4

    Can you make dissolve effect enemy please?

  • @DemolitionRepublic
    @DemolitionRepublic 5 лет назад

    Very nice!

  • @x6Blade9x
    @x6Blade9x 5 лет назад

    I'm sure unity did an update to make sure this controller doesn't work. Since 2014, I have never found a third person camera tutorial that isn't awkward or outdated by script, since unity keep track of every good feature that is free, so the can damage the ones that works properly.

  • @neo-mashiro
    @neo-mashiro 4 года назад

    How can you use a font other than default Inter/Verdana for the editor UI?

  • @supercat06
    @supercat06 5 лет назад +1

    Hi, I am a noob at Unity, I know this is a dumb question but when you finish downloading the project, how do you... Well, what do you do with it to get it into Unity?

    • @DeveloperJake
      @DeveloperJake 4 года назад +2

      Right click inside of the project window and press import, then just double click on the file you wish to import

    • @supercat06
      @supercat06 4 года назад +1

      @@DeveloperJake woah one year ago thank you so much, I forgot what this what about lol

  • @ujjawaltyagi9481
    @ujjawaltyagi9481 6 лет назад +13

    I have an idea and it's a request too. Could you make a GPS system like GTA IV and GTA V in unity.

  • @pittherichkid
    @pittherichkid 6 лет назад +1

    Is this also possible with a virtual joystick for mobile apps for example?

    • @Filmstorm
      @Filmstorm  6 лет назад

      Definitely Antoni. You just define the inputs as the ones driven by the virtual sticks.

    • @pittherichkid
      @pittherichkid 6 лет назад +1

      Thank you ! I have a additional script running to use touches like mouse actions. But I still have some trouble with the freelook camera..If I drag my mouse or finger forward, the camera gets closer to my player and it zoomes in. Is it possible to remove that behavior? Normally I just want the player to be able to change the view on the x axis ( look left and right).

    • @Filmstorm
      @Filmstorm  6 лет назад

      @@pittherichkid Yes this is the camera collider which is moving the camera towards your player. If you click on the freelook camera at the bottom of the cinemachine component, you'll see a camera collider area, just turn it off or change the layers you want to collide with, possibly moving your player to a different layer? See how you go and let me know :)

    • @soursour9346
      @soursour9346 6 лет назад

      @Filmstorm Could you do a demonstration for the virtual joystick? A video on the subject would be really appreciated! I can't seem to find too many resources on this subject. I'm using a touchpad script from the the asset store called "Simple Input System" by Süleyman Yasir Kula which lets you change the axis, but it's not working out.

  • @Wielkimati
    @Wielkimati 3 года назад

    Hey there, great vid. I've got a question tho - do you not provide the project anymore or is the link just broken?

  • @IfThenElseMusic
    @IfThenElseMusic 5 лет назад +1

    Please make a video to do the same thing with mobile

  • @paulkruger4156
    @paulkruger4156 5 лет назад +2

    The project is 1.4G, what exactly do you have in the scene, that is that large!

  • @dougbarnes8957
    @dougbarnes8957 4 года назад

    Is there a way that you can only turn on the free look with a mouse button clicked the smooth back when un clicked?

  • @TheSateef
    @TheSateef 5 лет назад

    really nice tool and great explanation, thanks. what about when players touching wall, the camera seems to be inside the players head, how to move that maybe to the side or something? thanks

  • @agastyavalisetty8620
    @agastyavalisetty8620 3 года назад

    where can i get the project? the link in the description isn't working

  • @anujar66
    @anujar66 4 года назад +1

    Hey, I wanted to make a settings option for mouse sensitivity. So what parameter of the Cinemachine Free Look cam should I tweak to control the mouse sensitivity?
    Btw great job on the video. Super useful. :)

  • @julienpicard7888
    @julienpicard7888 4 года назад

    Hey, just a little question here: Do you know why, as it did when you went forward before setting binding mode to world space, when I move left or right only (without forward or backward movement), my character slightly rotates backward on the Y axis (rotates left when turning left and right when turning right) of an amount depending on what Rig (top, mid or bottom) the camera currently is (rotatation of about 15° on middle rig and more on top rig before continuing in a straight line)?

    • @PaulGeraskin
      @PaulGeraskin 4 года назад

      I have the same issue. Cannot find solution yet

  • @JanKowalski-yv2pm
    @JanKowalski-yv2pm 5 лет назад

    Good job with this tutorial

  • @SAS_2509
    @SAS_2509 5 лет назад

    Nice tutorial as always! Btw, where can i find the updated movement script? I'd like to use it as reference for smoothing the character movement

  • @blablabla1196
    @blablabla1196 4 года назад

    Video is great but the whole time I was waiting for a solution to helping the player move in the direction to where the camera is facing. Is there a solution here?

  • @riptix8217
    @riptix8217 4 года назад

    can i use look around camera in Android by add in touchpad instead of moving mouse??

  • @bethel6594
    @bethel6594 4 года назад

    How do you set a constraint for how far or close the camera zooms

  • @bitmammothOG
    @bitmammothOG 2 года назад +1

    RIP project link I get a 400 :'( but great tutorial anyway this is extremely helpful!

    • @Filmstorm
      @Filmstorm  2 года назад

      Hi there, this is the link for this project, the site moved a few links around: filmstorm.net/everything-you-need-to-know-on-how-to-use-cinemachine-for-unity/

  • @khalido8075
    @khalido8075 4 года назад

    Hi with the character controller how can you increase/decrease the movement speed? Is it defined by the animation speed of the walk animation or something else?

  • @PikBo100
    @PikBo100 3 года назад

    i dont know why but my cinemachine camera is static and doesnt follow the player..i attached that 2 gameobjects of player to follow but it wont follow

  • @meynut8292
    @meynut8292 5 лет назад

    i have a problem, when my character is going forward(i used your character movement tutorial) he turns slightly right, because i moved the camera a bit to the left just like you did in this tutorial. How can I fix this?

    • @franzkrs6721
      @franzkrs6721 5 лет назад +1

      just look the video till the end, he is explaining how to fix it :D

  • @angeldiaz7554
    @angeldiaz7554 5 лет назад

    great help!
    thank you!

  • @SpikeCooks
    @SpikeCooks 6 лет назад

    heya im wondering if you could help me, ive got everything working in a different scene with a different model etc, but the player moves in the direction of the camera and then instantly faces world Z axis afterwards instead of keeping the cameras Z axis, any idea ? or if i could send screeshots to you thatd be great :)

  • @patrickmachado7525
    @patrickmachado7525 4 года назад

    Thats very interesting, thanks for sharing! But the Download Project link is actually broken.

  • @nebojsaaleksic5130
    @nebojsaaleksic5130 5 лет назад

    I can't get the project to work as it's missing the animations and i have no clue how to add it from the asset store. I tried import but it screwed up the project. Tried to open the Adam asset pack in a separate project to try and separate the animations but it only contains a single animation called "walk" and an animation controller. I can't find the idle, walk and jog anims. Your tutorials seem nice but are a bit disconnected between or i can't seem to get the order right. TBH, i'm jumping between UE4 and Unity trying to find best noob support and some basic feature set. E.g. making IK for UE4 is a** and everyone just bangs about to freakin' buy it, sure like 50 bucks give or take 20 is very easy to come by for everybody. Yet tutorial on such matters are way too convoluted except your IK for unity, if i can get the initial project to work however. Surely Unity is gonna go to that direction but UE4 is already at that point where nobody want's to share anything anymore because they could make an asset to sell which halts progress for noobs to get into it and people that aren't from a wealthy enough Country to afford every BS plugin and asset and what not. :(
    In either case, thanks for your efforts!

    • @nebojsaaleksic5130
      @nebojsaaleksic5130 5 лет назад

      May i just add i couldn't actually understand properly what you say when it comes to animations, all i could gather was "adam" and "animation pack" and "download". So i did. xD

  • @samblesswin1434
    @samblesswin1434 4 года назад

    project is not available to download

  • @stu-ool5155
    @stu-ool5155 4 года назад

    why doesnt mine follow the player in the y axis? is there something i need to add?

  • @ym1612
    @ym1612 5 лет назад

    How do you make this work on mobile, cuh I used control freak and I can't look around when using cinemachine

  • @eruchii7200
    @eruchii7200 4 года назад

    how to change the environment to that texture?

  • @teo2805
    @teo2805 3 года назад

    The project files are no longer AVAILABLE! Please update the link? :c

  • @sumanthapa3599
    @sumanthapa3599 4 года назад

    When the character jumps, camera also follows which creats weird motion. How to fix?

    • @anujar66
      @anujar66 4 года назад

      Try increasing the soft zone settings for the y-axis. What you should look for is minimizing the change in position of cam, rather, make it so that the cam angle changes when the character jumps.
      Or another way is to zoom out when the char jumps. Use Mathf.Lerp on the FOV of the cam.
      One of these should achieve the desired effect. :)

  • @jojobee228
    @jojobee228 5 лет назад

    Help! So i set up a simple scene with Cinemachine free look camera, but i am having some issues with camera rotation, the cam has a sudden pop at one point and I cannot figure out how to fix it. When I delete the collider script, the pop is gone, but I need the collider script for the wall collision. Have you experience anything like this? Thanks in advance . video 1: imgur.com/a/OcSjTPo video 2: imgur.com/a/Dbv6RC1

    • @DRYstudios1994
      @DRYstudios1994 4 года назад

      Is there something on or around your character that isn't tagged as Player? I had a similar issue where I was testing this out with the basic capsule with parented cube eyes, but the camera would move forward when I rotated around the front of my character. I fixed it by tagging the cube as player as well.

  • @VaustXIII
    @VaustXIII 4 года назад

    Project download link leads to "page not found" :C

  • @cbox_
    @cbox_ 4 года назад +1

    Thanks for this :)

  • @paulkruger4156
    @paulkruger4156 5 лет назад +3

    "You can download the project here: " Nope, it's actually a 404 error page. Page not found!

    • @Filmstorm
      @Filmstorm  5 лет назад

      Here is the updated link:
      filmstorm.net/articles/everything-you-need-to-know-about-cinemachine-in-unity

    • @DaveLH
      @DaveLH 5 лет назад +3

      @@Filmstorm : Link still doesn't work (as of 08/12/2019)

    • @domengolob1358
      @domengolob1358 5 лет назад +1

      @@Filmstorm Jp, still not working

  • @rayovacsj2902
    @rayovacsj2902 6 лет назад +1

    Thanks for this.

  • @Supergab85
    @Supergab85 5 лет назад

    Interesting. Do you know how to make the same camera animation focusing on an object when the player interacts with it? Like uncharted, tomb raider or hellblade
    More "cinematic" and "immersive" way ;-)

    • @rayzaranza9165
      @rayzaranza9165 4 года назад

      ruclips.net/video/2X00qXErxIM/видео.html

  • @nester.1337
    @nester.1337 4 года назад

    OMG thank you so much you are a fucking genius

  • @manishotaval8316
    @manishotaval8316 5 лет назад

    How to use Cinemachine on mobile(with screen drag)?

    • @Filmstorm
      @Filmstorm  5 лет назад

      You’ll need to use a touch screen script to handle dragging and touching- we have another tutorial on our channel to help with this 👍🏼

  • @AlHadaf00
    @AlHadaf00 Год назад

    why i Can't download the project !!!

  • @ujjawaltyagi9481
    @ujjawaltyagi9481 6 лет назад +1

    From where you are

  • @vatsoffice
    @vatsoffice 6 месяцев назад

    the link to the project is not working

  • @Mohammed-kl9px
    @Mohammed-kl9px 5 лет назад +1

    This Video is priceless. u earned a sub buddy.

  • @josh_swanson
    @josh_swanson 5 лет назад +2

    My question is this: how can we force the camera to always move towards the back of the character? its very odd that you can move the character running towards the camera, and it doesn't swing around behind him

  • @ositoenojado8946
    @ositoenojado8946 5 лет назад

    Can I use Cinemachine for FPS?

  • @sudhanshu02
    @sudhanshu02 5 лет назад

    Download link is not working for me.

  • @EnderElectrics
    @EnderElectrics 4 года назад

    So did Brackeys just steal your tutorial?

  • @FelipeDermann
    @FelipeDermann 5 лет назад +1

    Link for project download is down!

    • @Filmstorm
      @Filmstorm  5 лет назад +1

      Check for direct link in the comments- updating the project link as well now 👍🏼

  • @aliforpeace
    @aliforpeace 4 года назад +2

    DOWNLOAD LINK NOT WORK

    • @Filmstorm
      @Filmstorm  4 года назад

      filmstorm.net/third-person-camera-in-cinemachine-using-unity/

  • @Kaasbaas1234
    @Kaasbaas1234 5 лет назад

    Does it work with controller?

  • @Gokai_
    @Gokai_ 3 года назад

    Download link doesn't work anymore

  • @DuKeJooJs
    @DuKeJooJs 6 лет назад +1

    There is any option, where de player walks in the direction of the camera? if it is more complicated, can u do a tutorial on how to make the camera control the character walk direction? And thank you for the content, u r amazing!

  • @paulkruger4156
    @paulkruger4156 5 лет назад

    My character script is set up, so that the character turns with the mouse. So now with this, it no longer turns :(

  • @rafaelskiarteportfolio1098
    @rafaelskiarteportfolio1098 4 года назад

    A M A Z I N G !

  • @varan9412
    @varan9412 4 года назад +1

    Thanks

    • @Filmstorm
      @Filmstorm  4 года назад

      You’re very welcome!