How to switch cameras in Cinemachine | Unity Tutorial

  Рет қаралды 18,245

This is GameDev

This is GameDev

Жыл бұрын

Learn to use Cinemachine in Unity for switching between cameras. We will code a system to automatically transition from one camera zone to another.
★ Join the Kingdom:
/ discord
★ Download Will & The Evil Duck for FREE (iOS & Android): gamedev.lu/games/will-and-the...
► The GameDev Website: gamedev.lu
····················································································
For the cool ones:
● Instagram: / gamedev.lu
● Twitter: / gamedevlu

Пікірлер: 35
@GemGameDev
@GemGameDev 10 ай бұрын
Wow youre way to explain things is so easy to follow! Thank you so much for this video, glad I found your channel :)
@this-is-gamedev
@this-is-gamedev 10 ай бұрын
Hey, thank you so much! Good to hear that.
@kimen1
@kimen1 Жыл бұрын
Hey you! Watch this video completely, this guy is the GOAT! Thanks for sharing your knowledge!
@this-is-gamedev
@this-is-gamedev Жыл бұрын
Wow thanks! 🙏
@Mayo____________
@Mayo____________ 11 ай бұрын
Great tutorial! Was looking for a camera solution and it seems cinemachine covers all the bases. Didn't know about that second to last tip, definitely going to be using that!
@this-is-gamedev
@this-is-gamedev 11 ай бұрын
Thanks! I am glad it help! Cinemachine is really great.
@richardwebb2691
@richardwebb2691 Жыл бұрын
Great video, thanks for sharing! I'd be interested in learning more from Cinemachine - e.g. doing the same, but split-screen, or custom transitions outside of smashcuts/easing. Just ideas for a future video, I'm sure you have loads already :). Keep it up!
@this-is-gamedev
@this-is-gamedev Жыл бұрын
Thanks! Good ideas! I write them down :D
@yalcinkaya3442
@yalcinkaya3442 Жыл бұрын
Great tutorial. It was what i wanted and funny.
@this-is-gamedev
@this-is-gamedev Жыл бұрын
Thanks! Appreciate it :D
@The-Filter
@The-Filter 2 ай бұрын
Matthew Broderick's son got into Unity!
@this-is-gamedev
@this-is-gamedev 2 ай бұрын
never heard this before. I’ll take it 😆
@The-Filter
@The-Filter 2 ай бұрын
Sorry I had to 😆In fact I love Matthew Broderick! And you are also very symapthic! You both have that smart look! And I like smart people! ☺@@this-is-gamedev
@AustinWeeks
@AustinWeeks 3 ай бұрын
6:00 for how to switch cameras!
@ruslansharipovuxui
@ruslansharipovuxui Жыл бұрын
Great video! Quick question about last part of the video when you switch cameras on trigger enter. What if I want to do point of enterest in specific area. So the player stay on trigger and by holding E key - its activates the camera. Any help or suggestions??
@this-is-gamedev
@this-is-gamedev Жыл бұрын
In that case, the OnTriggerEnter/Exit should no switch the cameras but rather just remember what is the target camera. Then when you press E, you check if there is a current camera available to switch to. This could be a component on the Player “PoiController” for example.
@ElmoLovesYou2
@ElmoLovesYou2 7 ай бұрын
how to switch from thirdPerson - to FirstPersonLook ? (should I use CinemachineFreelook and CinemachineVirtualCamera combination for that?)
@this-is-gamedev
@this-is-gamedev 7 ай бұрын
You can use 2 Cinemachine VirtualCamera. But if you want the gameplay to follow then you have to make 2 different character controllers basically
@praveenb-xr
@praveenb-xr Жыл бұрын
Hi Nice tutorial..Subscribed w How can we do a scane change from FPS controller camera to an animated cinemachie Dolly camera, Like cutscene play when player enters a zonr. Could you share any tutorial or make a one?
@this-is-gamedev
@this-is-gamedev Жыл бұрын
Thanks! I’ll look into that and maybe at the same occasion show it with the new Cinemachine version. All Cinemachine cameras work the same way, they are all virtual cameras. For an complex animated cutscene you might prefer using the Timeline directly.
@praveenb-xr
@praveenb-xr Жыл бұрын
@@this-is-gamedev Thanks..Looking for yuour tutorial as well..
@smpsports
@smpsports 11 ай бұрын
Does the cinemachine volume setting only exist in URP and HDRP?
@this-is-gamedev
@this-is-gamedev 11 ай бұрын
Yes, that’s what the docs says :D
@smpsports
@smpsports 11 ай бұрын
@@this-is-gamedev I was able to achieve the effect I wanted with a custom blend asset. I wanted a hard cut in and then an ease out.
@InvisaPotion
@InvisaPotion Жыл бұрын
Could you make a video on how to make it so a rigidbody could go up stairs?
@this-is-gamedev
@this-is-gamedev Жыл бұрын
Do you mean like how to manage feet placement?
@InvisaPotion
@InvisaPotion Жыл бұрын
@@this-is-gamedev nah like rigidbodys cant go up stairs and ik about using ramps as collisders but that seems like a bad solution to the problem
@this-is-gamedev
@this-is-gamedev Жыл бұрын
@@InvisaPotion Ramps are a good solution. You just have to add 1-2 lines of code to kill the velocity and avoid that the player slips down by itself. You can also use a Capsule collider on the player that helps get up stairs.
@_Romulodovale
@_Romulodovale 2 ай бұрын
Can you switch to a camera from another scene?
@this-is-gamedev
@this-is-gamedev 2 ай бұрын
Yes, any camera that’s loaded can be switched to. So you scenes needs to just be loaded (additively)
@Kawabatushka
@Kawabatushka Жыл бұрын
Is that Mozart in the background? ))
@this-is-gamedev
@this-is-gamedev Жыл бұрын
Yes! :D
@Kawabatushka
@Kawabatushka Жыл бұрын
@@this-is-gamedev this is the sound of my alarm clock 😂😂😌
@this-is-gamedev
@this-is-gamedev Жыл бұрын
You have good music taste 😅
@Kawabatushka
@Kawabatushka Жыл бұрын
@@this-is-gamedev thx, you too 😁😁
Unity3D: Triggering Cameras with Cinemachine
36:54
Kyle Broad
Рет қаралды 417
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 20 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 6 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 4 МЛН
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 8 МЛН
Easily Control Cameras with Cinemachine in Unity!
12:20
Code Monkey
Рет қаралды 92 М.
How to make The Best First Person Camera in Unity
9:04
semikoder
Рет қаралды 3,2 М.
How to Switch Between Cameras in Your Scene - Unity 3D
12:49
James Arndt
Рет қаралды 32 М.
3 Devs Make An FPS - Godot vs Unity vs Unreal || GameDev Battles
12:39
How To Transition Between Multiple Cinemachine Cameras
2:56
Codecodile
Рет қаралды 9 М.
I Wish I Had Known This Before I Started Unity Game Development...
11:11
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 3,8 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 687 М.
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 20 МЛН