Creating a Third Person Camera using Cinemachine Free Look in Unity that Avoids Obstacles (Tutorial)

  Рет қаралды 68,423

Smart Penguins

Smart Penguins

Күн бұрын

Пікірлер: 65
@Gabi-wo9rr
@Gabi-wo9rr 2 жыл бұрын
After a day of trying to fit many scripts to suit my tastes, this guy did it better than me in just 4 mins. Nice!
@thelastpiratesYT
@thelastpiratesYT 11 ай бұрын
I agree, custom made camera takes a lot of time and effort to smooth out. I would say for most unity games, Cinemachine is a must-have.
@AndrewMaksym
@AndrewMaksym 3 жыл бұрын
This is brilliant, thank you!
@treemonkey336
@treemonkey336 2 жыл бұрын
very good youtuber! you explain so well and people who have been searching on how to do this will finally do it because your great at explaining!
@karthikt5268
@karthikt5268 3 жыл бұрын
Thanks for the tutorial 🔥
@neisanland2503
@neisanland2503 4 ай бұрын
best video ever. thanks man
@trialupload
@trialupload 3 жыл бұрын
One More Awesome Topic
@owenhey3187
@owenhey3187 2 жыл бұрын
Great video! Super helpful
@ericgordon4999
@ericgordon4999 Жыл бұрын
Really great!
@chrisjackson8069
@chrisjackson8069 2 жыл бұрын
Super useful thank you !
@Kavee_3
@Kavee_3 2 жыл бұрын
Great, thank you so much
@garbski42
@garbski42 3 жыл бұрын
Thanks! I've been struggling for two days and my over-thinking brain was getting tired.
@ablgr511
@ablgr511 2 жыл бұрын
good vid man thanks a lot
@novaesc844
@novaesc844 Жыл бұрын
so simple nice
@user-em9su3dd9y
@user-em9su3dd9y 3 жыл бұрын
Nice - thanks
@Johnnys_Manager
@Johnnys_Manager 26 күн бұрын
thank u sooooo mcuhchchjchc
@bodrhul
@bodrhul 2 жыл бұрын
THANKS YOUU!
@ablgr511
@ablgr511 2 жыл бұрын
bro thank you
@a.technology1446
@a.technology1446 3 жыл бұрын
Great
@bluestrawberry1225
@bluestrawberry1225 2 жыл бұрын
Is there a way to change the rigs settings using Visual Scripting in real time I want to push the camera back and pull it forward depending on the combat, please I really need to know.
@PhysicsPhun_Ameya
@PhysicsPhun_Ameya Ай бұрын
I'm currently facing the same problem, got any solutions? I have thought about doing it with a virtual camera for the combat
@Reykoil
@Reykoil Жыл бұрын
Hey Smart Penguin. Do you remember what environment asset did you use for this project? thx!
@carlos_7x
@carlos_7x 11 ай бұрын
What can I do to control the camera with the right stick of a gamepad instead of the mouse?
@darkprinc3284
@darkprinc3284 2 жыл бұрын
when i import cinemachine to the project the main camera dont change position or anything and i cant see that red boarder in game mode
@XboxPlayerPL
@XboxPlayerPL 3 жыл бұрын
Nice! How about the character moving the same way where the camera is facing?
@SmartPenguins
@SmartPenguins 3 жыл бұрын
You would use the camera rotation on y Axis and set that to your player.
@nico_crowned
@nico_crowned 2 жыл бұрын
@@SmartPenguins Hi, thanks for the video! Could you please be more specific about this? I have the same doubt than Friedrich... and I'm not sure what should I set and where...
@robertorodriguez4304
@robertorodriguez4304 2 жыл бұрын
You'll need a script with a public or serialized variable to drag your main camera to the inspector to control it. You'll need to use the "quaternion angle axis method" transforming euler angles of the y axis vector3 up, this is scripting. This quaternion governs rotation and your main camera being controlled with in the unity inspector will rotate the character in relation where the camera is facing. The video left the important part of the 3rd Person camera controller.
@xongram3139
@xongram3139 3 жыл бұрын
can i implement the cinematic free look camera using touch inputs for mobile.....i was trying to impletement the freelook camera.....but when i am using joystick to move the player.....it still rotates or moves the camera......can i restrict the camera movement while using the joystick
@geodude1725
@geodude1725 3 жыл бұрын
would love to see how to make this just through using a plain camera and visual scripting!
@SmartPenguins
@SmartPenguins 3 жыл бұрын
You can, but there is no point making something that exists unless it doesn't work for you.
@geodude1725
@geodude1725 3 жыл бұрын
@@SmartPenguins Very true. It would just be interesting to see how it all would come together behind the scenes! Also - Please consider doing a Udemy course at some point. Would love to follow and contribute towards a full series as your Videos have been so useful!
@steveradtke1308
@steveradtke1308 3 жыл бұрын
Hey smart penguin. Would you mind doing a video on integrating a purchased asset into your visually scripted game? In a case where that asset is not visually scripted?
@SmartPenguins
@SmartPenguins 3 жыл бұрын
You have an Asset that you have in mind?
@steveradtke1308
@steveradtke1308 3 жыл бұрын
@@SmartPenguins Well in my use case it would be the corgi engine by moremountains. But I know that is a complicated asset and maybe a simpler one would work better.
@maxsammich9823
@maxsammich9823 3 жыл бұрын
For some reason whenever i get to adding the free camera it locks my camera to whatever FOV it wants in this case it's 40 but i've had it lock at another odd number before, is there anything you can think of as to why that is. also thank you for the tutorials they really are the best out there. (EDIT) it's as soon as there's a cinemachine brain on the camera it locks at 40, if i remove or disable it it lets me use the FOV slider again.
@SmartPenguins
@SmartPenguins 3 жыл бұрын
because it's controlled by free look camera, check for FOV settings there
@maxsammich9823
@maxsammich9823 3 жыл бұрын
@@SmartPenguins You legend, Somehow I completely missed that.
@orfstudiosink3585
@orfstudiosink3585 3 жыл бұрын
Can you make a simple 3D Multiplayer Tutorial with Mirror maybe;
@SmartPenguins
@SmartPenguins 3 жыл бұрын
If you looking for making it with Visual Scripting Tutorial then it will be easier to make it with Photon: kzbin.info/www/bejne/b6vTmmSGeqZ-m6s But for C# & Mirror here is a good place to start kzbin.info/www/bejne/m3erdX6coc6np7M&ab_channel=FirstGearGames
@orfstudiosink3585
@orfstudiosink3585 3 жыл бұрын
@@SmartPenguins Thank you!
@rocketshader2699
@rocketshader2699 2 жыл бұрын
Freelook camera feels hard to control, I don't know why? But standart virtual camera is easy to control so I use that.
@bonse2000
@bonse2000 2 жыл бұрын
my character dsnt move and camera also and i take thats errors
@parthsahni8952
@parthsahni8952 3 жыл бұрын
Thank you can you make a animation tutorial
@SmartPenguins
@SmartPenguins 3 жыл бұрын
Something like this? kzbin.info/www/bejne/h2PLY4uVotmdqNk
@parthsahni8952
@parthsahni8952 3 жыл бұрын
@@SmartPenguins Thank you soo much
@yugbhagat6531
@yugbhagat6531 3 жыл бұрын
hey I have a doubt..not related to this.....for making multiplayer games...i Have seen people using Photon ..but some people suggest to use C# Network...like creating your own server in VS code...so please make a video on the differences please!
@SmartPenguins
@SmartPenguins 3 жыл бұрын
For Photon you have to pay if you want to have more than 20 users playing your game at the same time but it's simplifies the process of getting started with multiplayer. Creating your own is more work but you'll have full control on how it works. So it depends what level you are at. BTW Unity is working on releasing there own multiplayer solution too. But for the first multiplayer game I wouldn't suggest making your own solution use something that exist and get the feel for how it all works together before advancing if you need your own solution.
@yugbhagat6531
@yugbhagat6531 3 жыл бұрын
@@SmartPenguins Wow man...thanks alot!...
@SMABSYSTEMS
@SMABSYSTEMS 3 жыл бұрын
Thanks! But could you make one for first person and 2D as well?
@bharatgoel2916
@bharatgoel2916 2 жыл бұрын
can you do a video on how to implement this in mobile please
@NightKingMarhoom
@NightKingMarhoom 3 жыл бұрын
My cinemachine cam is following main cam instead of character???!!!
@SGUDevs
@SGUDevs 3 жыл бұрын
third person with aiming?
@codingug6565
@codingug6565 2 жыл бұрын
Bro how can i lock mouse in cinemachine pls help :)
@ziaahmad2767
@ziaahmad2767 3 жыл бұрын
Can u make a enemy visual scripting tutorial.
@SmartPenguins
@SmartPenguins 3 жыл бұрын
This is not a enemy but you can convert it to an enemy kzbin.info/www/bejne/gajTmmyglJ1rrqM
@sugarwaifu7211
@sugarwaifu7211 3 жыл бұрын
Map?
@ancolia8772
@ancolia8772 3 жыл бұрын
Just spend 3 days on making this but i forgot that i could have just searched this up lol. Im stupid...
@fanti8957
@fanti8957 3 жыл бұрын
hi. i know u from dicord
@ancolia8772
@ancolia8772 3 жыл бұрын
@@fanti8957 oh hello fanti
@bunzy5279
@bunzy5279 2 жыл бұрын
Anyone elses camera just not saving settings and clipping?
@bonse2000
@bonse2000 2 жыл бұрын
NullReferenceException: Object reference not set to an instance of an object StarterAssets.ThirdPersonController.Move () (at Assets/StarterAssets/ThirdPersonController/Scripts/ThirdPersonController.cs:258) StarterAssets.ThirdPersonController.Update () (at Assets/StarterAssets/ThirdPersonController/Scripts/ThirdPersonController.cs:161)
@bonse2000
@bonse2000 2 жыл бұрын
InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings. Cinemachine.AxisState.Update (System.Single deltaTime) (at Library/PackageCache/com.unity.cinemachine@2.8.6/Runtime/Core/AxisState.cs:224) Cinemachine.CinemachineOrbitalTransposer.UpdateHeading (System.Single deltaTime, UnityEngine.Vector3 up, Cinemachine.AxisState& axis, Cinemachine.AxisState+Recentering& recentering, System.Boolean isLive) (at Library/PackageCache/com.unity.cinemachine@2.8.6/Runtime/Components/CinemachineOrbitalTransposer.cs:223)
@SmartPenguins
@SmartPenguins 2 жыл бұрын
you need to configure Cinemachine to use New Input System because that is what you are using. here this video might help kzbin.info/www/bejne/rZaXdHqjoLWEbLM&ab_channel=samyam
번쩍번쩍 거리는 입
0:32
승비니 Seungbini
Рет қаралды 182 МЛН
Easily Control Cameras with Cinemachine in Unity!
12:20
Code Monkey
Рет қаралды 96 М.
Creating a Third Person Camera (Unity Tutorial)
10:51
Ketra Games
Рет қаралды 105 М.
How to use Cameras in Unity: Cinemachine Virtual Cameras Explained
14:31
Adding AI Monsters to my SURVIVAL Game  [Devlog 1]
7:11
Coding Turtle
Рет қаралды 1,5 М.
How to Make a Game in Unity 6 using Visual Scripting Part 1
15:16
Smart Penguins
Рет қаралды 1,6 М.
Comparing 3D Performance of Godot and Unity Game Engine
9:58
Smart Penguins
Рет қаралды 43 М.
THIRD PERSON MOVEMENT in Unity
21:05
Brackeys
Рет қаралды 1,5 МЛН
Build a beautiful 3D open world in 5 minutes | Unity
5:57
spaderdabomb
Рет қаралды 436 М.