How to Make a Camera System (Like Hollow Knight's) in Unity using Cinemachine | 2D Tutorial

https://www.youtube.com/watc...
Join our Discord Community! - https://discord.com/invite/aHjTSBz3jH Show your Support & Get Exclusive Benefits on Patreon! - https://www.patreon.com/sasquatchbgames Wishlist Veil of Maia! - https://store.steampowered.com/app/1948230/Veil_of_Maia/ In this Unity tutorial, we'll be re-creating Hollow Knight's camera system using Unity and Cinemachine. We're going to cover: - how to setup a direction bias - interpolation based on your player's vertical velocity - camera bounds (and how to break them,) - ledge detection (so you can, for example, have the camera pan down to hint to your players that they CAN fall down that ledge.) - setting up different camera settings for different rooms (Ie. vertically centered, vertically locked, full position locked) and a system to easily swap between them when needed. I spent a good deal of time analyzing Hollow Knight's camera system and it's complexities, and by the end of this video you'll know how to create them all! Link to Download the 2D Asset Pack seen in this tutorial: https://veilofmaia.com/tutorial-asset-pack/ Contents of This Video: ------------------------------------------ 00:00 - Analyzing Hollow Knight's Camera 02:54 - Direction Bias 05:37 - Interpolation Based On Vertical Velocity 07:46 - Setting Up Proper Camera Bounds 10:39 - Camera Ledge Detection 14:10 - Setting Up Multiple Cameras and a System to Swap Between Them Who We Are------------------------------------- If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia. Don't forget to Subscribe for NEW game dev videos every Monday & Thursday! Read our First Development Blog: https://www.sasquatchbstudios.com/blog/ Want to be FIRST in line when the Free Demo is released? Sign up for email updates and first access to the demo @ https://veilofmaia.com/ Follow us on Twitter for regular updates! https://twitter.com/SasquatchBGames ***Purchase Links*** For those that would like to support the channel, please consider using the affiliate links below should you purchase a recommended product. We really appreciate it! Equipment: We've been asked what we use, so here it is: Microphone: Blue Yeti Purchase in Canada: https://amzn.to/3WUXcWO Purchase in USA: https://amzn.to/3Tke468 RGB Lights: Purchase in Canada: https://amzn.to/3tflrkR Purchase in USA: https://amzn.to/3g0Ci7L Keylight: (Note: We use 2 of these for our lighting setup) Purchase in Canada: https://amzn.to/3UINapv Purchase in USA: https://amzn.to/3hq7sWx #unitytutorial #unity2d #unity3d