Unity: Camera follow with Cinemachine (2D)

  Рет қаралды 6,937

Root Games

Root Games

Күн бұрын

In this short tutorial, we learn how to set up a 2D following camera using the Cinemachine package and how to fix jerky movements.
✅ Get my courses with discount:
👉 Unity 2D Master: www.udemy.com/course/unity2dm...
👉 Unity Mobile Course: www.udemy.com/course/unitymob...
👉 Unity Input System with Rebinding: www.udemy.com/course/unity-in...
👍 Save your time and learn Unity faster
-------------------------------------------------------
🔔 Subscribe for more awesome content:
🔴 / @rootgames
-------------------------------------------------------
🟡 Support this channel through donations
Any amount means a lot and will help grow the channel:
👉 PayPal: www.paypal.com/paypalme/rootg...
-------------------------------------------------------
Social Networks:
⭐ Instagram: / rootgamesofficial
⭐ Twitter: / rootgamescro
⭐ TikTok: www.tiktok.com/@rootgamesoffi...
⭐ Facebook: / root-games-10337038860...
-------------------------------------------------------
0:00 Intro
0:12 Import Cinemachine
1:03 Camera Follow 1
2:53 Fix Jerky Camera
3:51 Camera Follow 2
4:44 Cinemachine Brain
5:20 Outro
#unity2d #unitycinemachine #unitycamera #rootgames

Пікірлер: 12
@NgoMinhHieu-mj8gp
@NgoMinhHieu-mj8gp 6 ай бұрын
This really helped with my 2D game project. I've been struggling with the player camera, and your video was a big help. Thank you.
@RootGames
@RootGames 6 ай бұрын
Glad it helped!
@Memeieli
@Memeieli Жыл бұрын
Quick and well made tutorial. Thank you!
@SpaceValveGuy
@SpaceValveGuy 2 жыл бұрын
Great content as usual, didn't even know how to set a lot of these options up for the longest time.
@RootGames
@RootGames 2 жыл бұрын
Thanks ☺️
@_Escaflowne_
@_Escaflowne_ 2 жыл бұрын
Very useful thanks, this jerky camera thing was driving me nuts after I changed my player's movement from transform to rigidbody and it worked after I changed to extrapolate
@RootGames
@RootGames 2 жыл бұрын
Nice. Many people don't know about that option which is kinda mandatory for the Cinemachine camera to function properly. You can use extrapolate or interpolate, whatever works better for your game. Also, you can change it at runtime with scripts.
@nidulakarunarathna4071
@nidulakarunarathna4071 2 жыл бұрын
you are so good mr. keep it up.thank you
@RootGames
@RootGames 2 жыл бұрын
Will do! Thanks 😉
@St0rm.bringer
@St0rm.bringer Жыл бұрын
good stuff
@sal1554
@sal1554 2 жыл бұрын
thanks for the tutorial , how did you made the ui pixel perfect ? , I'm struggling with this these days
@RootGames
@RootGames 2 жыл бұрын
Use TextMeshPro to avoid blurry UI elements. You also need to select your Canvas(in the Hierarchy window) and find Canvas component(in the Inspector window), then enable/check Pixel Perfect checkbox. Also, check my tutorial on how to correctly set up Pixel Perfect camera with Cinemachine.
Unity: Screen Shake in 4 minutes (No code required)
4:24
Root Games
Рет қаралды 3,5 М.
WHY IS A CAR MORE EXPENSIVE THAN A GIRL?
00:37
Levsob
Рет қаралды 17 МЛН
MOM TURNED THE NOODLES PINK😱
00:31
JULI_PROETO
Рет қаралды 20 МЛН
어른의 힘으로만 할 수 있는 버블티 마시는법
00:15
진영민yeongmin
Рет қаралды 13 МЛН
Bare metal FORTH hacking [x86 assembly, gdb, QEMU]
3:19:35
chill runs
Рет қаралды 13
(FREE COURSE) Make awesome CUTSCENES in Unity using Timeline
41:52
How I made an Excellent Platformer
8:25
GoldenEvolution
Рет қаралды 251 М.
Unreal Engine 5 с нуля / Урок #2 - Интерфейс программы. Создание меню
35:06
Школа itProger / Программирование
Рет қаралды 85 М.
The Unity Tutorial For Complete Beginners
46:39
Game Maker's Toolkit
Рет қаралды 3,1 МЛН