Clamp Camera 2D - 2D Game Development With Unity

Опубликовано: 11 Октябрь 2024
на канале: BurgZerg Arcade
6,379
128

Raspberry Pi 3 Setup -    • Raspberry Pi 3 Setup  
~-~~-~~~-~~-~

In this lesson, I want to take a look at how I want the camera to behave. I want it to follow me as I move around, but not to show things that are out of bounds. Another words, I want to clamp the cameras movement to a specific range along the y and x axis.

Let's get started shall we.

********************

Outro Song: TheFatRat - Unity

--------------------
SUBSCRIBE - https://goo.gl/4X3sH8
PATREON - https://goo.gl/itXnwT

--------------------
GEAR I USE:
Mic - http://amzn.to/2dMWRVd
Mouse - http://amzn.to/2dSF7o6
Webcam - http://amzn.to/2hlFOcl
Portable Hard Drive - http://amzn.to/2dMVQMO
USB Portable Battery - http://amzn.to/2lABRQz