Camera Shake in unity3d based on distance!

Опубликовано: 06 Апрель 2026
на канале: ForlornU
981
38

Video Content
----------------------------------
0:00 - Intro
0:56 - Explanation
2:27 - Changes
8:57 - Outro
-----------------------------------

Here is a tutorial/overview/explanation of a camera-shake script I wrote for unity3d in c#

Most people probably use Cinemachine by now, but sometimes you just want a simpler plug-n-play alternative, this is my take on that

In this video we create a camera shake script, and an example trigger that makes the camera shake more or less depending on proximity, I envisioned this being used on explosions/grenades.
The camera shake has all the necessary code for any type of shaking though, this trigger is just an example of how you could use it!

Download the scripts here:
https://github.com/ForlornU/CameraSha...

UnityLibrary
https://github.com/UnityCommunity/Uni...