Тёмный

Third Person Camera System using Cinemachine in Unity 

Filmstorm
Подписаться 27 тыс.
Просмотров 136 тыс.
50% 1

Join our Filmstorm Motion Library: / filmstorm
Download the project: filmstorm.net/everything-you-...
Learn how to correctly setup Cinemachine for use as a Third Person Camera System in Unity. I will walk you through how to create the FreeLook Camera and adjust settings to achieve a real camera with dynamic collision detection and also use Perlin noise dynamics to create a wind effect on the camera.
You can find our Open World Animset here: assetstore.unity.com/packages...
#Unity3D #Cinemachine
---------------------------------------------------------------------------------------------------------
Our latest products from Gumroad are:
GTA Animation Pack and Tutorial: gum.co/gtapack
Sword Hack & Slash Animation Pack: gum.co/ninjas
Assassin's Creed Climbing System - Unity3D (BETA): gum.co/acclimb
------------------------------------------------------------------------------------------------------
Thanks for checking out my tutorials, I really appreciate it. If you want to take your Filmstorm experience to the MAX, check out www.filmstorm.net for more free assets and project downloads today!
Current Projects:
GTA Single Player System: • Single Player GTA Unit...
FPS System: • FPS in Playmaker Game ...
3rd Person Character Movement: • Third Person System Tu...
2.5D Player System: • 2.5D Character System ...
-----------------------------------------------------------------------------------------------------------
Have more suggestions for content? Leave a comment below and let me know what you want to see.

Кино

Опубликовано:

 

4 дек 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 170   
@dannygibson2850
@dannygibson2850 5 лет назад
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 года назад
Replying to thank you and to let others know that this worked!
@i1234pipio
@i1234pipio 2 года назад
god bless you
@clarkmeyer7211
@clarkmeyer7211 Год назад
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
@Filmstorm
@Filmstorm Год назад
Thanks Clark!
@nielsvdmarel
@nielsvdmarel 5 лет назад
This is so interesting! the quality and control you have with these components is insane! Thanks for the great video!
@zankaster3935
@zankaster3935 5 лет назад
Thank you for this straightforward introduction to Cinemachine
@gyrich
@gyrich 4 года назад
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!
@nicholasnicoletti8253
@nicholasnicoletti8253 5 лет назад
Thank you for this! Through the scripts provided and the Cinemachine tutorial I learned a lot about using Unity. Keep it up!
@tomascampo2283
@tomascampo2283 4 месяца назад
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!
@cranial3308
@cranial3308 4 года назад
Mix and Jam lead me here!!! Thanks for amazing tutorial Filmstorm
@ProtopopGames
@ProtopopGames 4 года назад
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.
@medmel2160
@medmel2160 5 лет назад
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 лет назад
Hey Med Mel! Thanks for watching and for the kind words, really appreciate it. 👍🏼
@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*
@MoTheBlackCat
@MoTheBlackCat 4 года назад
Thank you for opening my Cinemachine chakras I'm once reminded of the greatness of this package!
@MrQwerty2524
@MrQwerty2524 5 лет назад
Amazing. Professional grade camera system in 19 minutes... Thanks Unity!
@kawaiilily7907
@kawaiilily7907 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 лет назад
Thanks so much Kawaii Lily! 👍🏼
@dhananjaykulkarni3641
@dhananjaykulkarni3641 4 года назад
I finally found what I wanted Really Thanks!!!
@ve110cet
@ve110cet 5 лет назад
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!
@reznolf
@reznolf 5 лет назад
You're a god and you've earned yourself a believer !
@Oxmond
@Oxmond 4 года назад
Great tutorial! Unity's Cinemachine rocks! 👍🤓
@lemetamax
@lemetamax 5 лет назад
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 лет назад
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?
@Lukeibol
@Lukeibol 5 лет назад
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.
@MacMan2152
@MacMan2152 4 года назад
the first 3 minutes are enough to set up a third person camera. Good video.
@Filmstorm
@Filmstorm 4 года назад
We are glad it helped you out 👍🏼
@drr1867
@drr1867 3 года назад
Really nice tutorial - helped me a lot. Thank you.
@baohua1603
@baohua1603 5 лет назад
Thanks for free project, it works for me. Thanks a lot.
@btiwari-games5279
@btiwari-games5279 5 лет назад
Possiblities are endless here thanks for tut :)
@rayovacsj2902
@rayovacsj2902 5 лет назад
Thanks for this.
@angeldiaz7554
@angeldiaz7554 5 лет назад
great help! thank you!
@JanKowalski-yv2pm
@JanKowalski-yv2pm 5 лет назад
Good job with this tutorial
@DemolitionRepublic
@DemolitionRepublic 4 года назад
Very nice!
@fauzannrifai
@fauzannrifai 4 года назад
ur opening music break my ear, but I love ur tutor :'D
@mr.hunter2348
@mr.hunter2348 2 года назад
Here is my like good man, thank you.
@pedropaulovilacacosta4564
@pedropaulovilacacosta4564 4 года назад
How do you make the character move based on tge camera's direction?
@tubertmorti8282
@tubertmorti8282 4 года назад
All day. I've been trying to make this. And my future wife, Cinemachine could do it for me.
@cbox_
@cbox_ 4 года назад
Thanks for this :)
@Filmstorm
@Filmstorm 3 года назад
My pleasure!
5 лет назад
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.
@SpikeCooks
@SpikeCooks 5 лет назад
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 :)
@cptray-steam
@cptray-steam 4 года назад
Thanks m8!
@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?
@mapachu6959
@mapachu6959 5 лет назад
Can you make dissolve effect enemy please?
@wearwolf4202
@wearwolf4202 4 года назад
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
@IndieFist
@IndieFist 4 года назад
Can you check the project files? there is no more available to download
@nikshepamin8570
@nikshepamin8570 4 года назад
Where Can I Find 3rd Person Controller Coding Tutorial From Scratch.
@rafaelskiarteportfolio1098
@rafaelskiarteportfolio1098 4 года назад
A M A Z I N G !
@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
@OmarKhaled-it1jm
@OmarKhaled-it1jm 5 лет назад
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
@sumanthapa3599
@sumanthapa3599 4 года назад
did you get solution?
@TheSateef
@TheSateef 4 года назад
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
@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
@kingdaygaming8461
@kingdaygaming8461 4 года назад
When I try to download the project, it says error 404 :/ please help
@anujar66
@anujar66 4 года назад
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. :)
@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?
@h.k654
@h.k654 11 месяцев назад
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 11 месяцев назад
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.
@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?
@neo-mashiro
@neo-mashiro 3 года назад
How can you use a font other than default Inter/Verdana for the editor UI?
@bethel6594
@bethel6594 4 года назад
How do you set a constraint for how far or close the camera zooms
@paulkruger4156
@paulkruger4156 5 лет назад
The project is 1.4G, what exactly do you have in the scene, that is that large!
@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
@stu-ool5155
@stu-ool5155 4 года назад
why doesnt mine follow the player in the y axis? is there something i need to add?
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 года назад
DANK BOO!! :PPPPPPP
@agastyavalisetty8620
@agastyavalisetty8620 3 года назад
where can i get the project? the link in the description isn't working
@StephenWebb1980
@StephenWebb1980 2 месяца назад
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
@varan9412
@varan9412 4 года назад
Thanks
@Filmstorm
@Filmstorm 4 года назад
You’re very welcome!
@riptix8217
@riptix8217 3 года назад
can i use look around camera in Android by add in touchpad instead of moving mouse??
@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.
@ositoenojado8946
@ositoenojado8946 5 лет назад
Can I use Cinemachine for FPS?
@SugarPvP123
@SugarPvP123 5 лет назад
that intro scared the fuck out of me LOL
@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 4 года назад
just look the video till the end, he is explaining how to fix it :D
@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.
@blablabla1196
@blablabla1196 3 года назад
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?
@ujjawaltyagi9481
@ujjawaltyagi9481 5 лет назад
I have an idea and it's a request too. Could you make a GPS system like GTA IV and GTA V in unity.
@SanthoshKumarfojoheartthrobe
@SanthoshKumarfojoheartthrobe 5 лет назад
Awesome.. please make a tutorial on blending cameras between cutscenes and gameplay
@Filmstorm
@Filmstorm 5 лет назад
Yes that's one of the next tutorials :)
@iggythemad8701
@iggythemad8701 5 лет назад
I'd love this too! I wanna be able to switch bitween cameras when weapons are drawn.
@Mohammed-kl9px
@Mohammed-kl9px 4 года назад
This Video is priceless. u earned a sub buddy.
@Filmstorm
@Filmstorm 4 года назад
You’re very welcome! Thanks for the sub ⭐️
@monkeyrobotsinc.9875
@monkeyrobotsinc.9875 4 года назад
but why
@eruchii7200
@eruchii7200 3 года назад
how to change the environment to that texture?
@teo2805
@teo2805 3 года назад
The project files are no longer AVAILABLE! Please update the link? :c
@Kaasbaas1234
@Kaasbaas1234 4 года назад
Does it work with controller?
@IfThenElseMusic
@IfThenElseMusic 4 года назад
Please make a video to do the same thing with mobile
@VaustXIII
@VaustXIII 3 года назад
Project download link leads to "page not found" :C
@envys6
@envys6 5 лет назад
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 3 года назад
Right click inside of the project window and press import, then just double click on the file you wish to import
@envys6
@envys6 3 года назад
@@DeveloperJake woah one year ago thank you so much, I forgot what this what about lol
@sudhanshu02
@sudhanshu02 4 года назад
Download link is not working for me.
@jojobee228
@jojobee228 4 года назад
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.
@samblesswin1434
@samblesswin1434 3 года назад
project is not available to download
@josh_swanson
@josh_swanson 5 лет назад
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
@nebojsaaleksic5130
@nebojsaaleksic5130 4 года назад
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 4 года назад
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
@ujjawaltyagi9481
@ujjawaltyagi9481 5 лет назад
From where you are
@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 :(
@patrickmachado7525
@patrickmachado7525 4 года назад
Thats very interesting, thanks for sharing! But the Download Project link is actually broken.
@nester.1337
@nester.1337 4 года назад
OMG thank you so much you are a fucking genius
@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. :)
@vatsoffice
@vatsoffice Месяц назад
the link to the project is not working
@bitmammothOG
@bitmammothOG 2 года назад
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/
@thecynicalsprite1847
@thecynicalsprite1847 3 года назад
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.
@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 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2X00qXErxIM.html
@Gokai_
@Gokai_ 3 года назад
Download link doesn't work anymore
@pittherichkid
@pittherichkid 5 лет назад
Is this also possible with a virtual joystick for mobile apps for example?
@Filmstorm
@Filmstorm 5 лет назад
Definitely Antoni. You just define the inputs as the ones driven by the virtual sticks.
@pittherichkid
@pittherichkid 5 лет назад
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 5 лет назад
@@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 5 лет назад
@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.
@FelipeDermann
@FelipeDermann 4 года назад
Link for project download is down!
@Filmstorm
@Filmstorm 4 года назад
Check for direct link in the comments- updating the project link as well now 👍🏼
@manishotaval8316
@manishotaval8316 4 года назад
How to use Cinemachine on mobile(with screen drag)?
@Filmstorm
@Filmstorm 4 года назад
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 👍🏼
@fradyDK
@fradyDK 5 лет назад
the link does not work anymore? :(
@Filmstorm
@Filmstorm 5 лет назад
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!
@DuKeJooJs
@DuKeJooJs 5 лет назад
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!
@ilanraz9489
@ilanraz9489 2 года назад
New link somebody please?
@AlHadaf00
@AlHadaf00 Год назад
why i Can't download the project !!!
@AlHadaf00
@AlHadaf00 Год назад
please need help
@StriderWolf
@StriderWolf 5 лет назад
man how big is your monitor. my little 720p screen cant see anything with how small everything is on your screen.
Далее
10 Minutes vs. 10 Years of Animation
19:29
Просмотров 772 тыс.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
🎸РОК-СТРИМ без ФАНЕРЫ🤘
3:12:10
Просмотров 1,4 млн
THIRD PERSON MOVEMENT in Unity
21:05
Просмотров 1,4 млн
WHAT ARE "TIGHT" CONTROLS? - Movement in Games
9:14
Просмотров 346 тыс.
Easily Control Cameras with Cinemachine in Unity!
12:20
How to Make a Good 2D Camera
11:38
Просмотров 395 тыс.