EZ Camera Shake
EZ Camera Shake is a free powerful asset for achieving easy and quality camera shake in Unity. It was created by Road Turtle Games.
It allows Unity programmers to add camera shake to their scenes with as little as one line of code, like:
CameraShaker.Instance.ShakeOnce(magn, rough, fadeIn, fadeOut);
It used to be available on the Unity Asset Store, but has since been removed and open sourced here.
As of the time of writing this, this package works for Unity 2018 perfectly. The
.unitypackage can be downloaded here. PDF documentation is also included in the package.
I don’t want to read the docs! Show me how to use this visually.
Okay, here’s a video.
The camera is now stuck at 0,0,0 and none of my other scripts can move it!
Are there any alternatives to EZ Camera Shake?
Yes, now there is. When this EZ Camera Shake was created (and also around the time it was open sourced), there weren’t that many free and easy ways to achieve camera shake. Now, however, easy and complex shake behaviours can be made with Unity’s free camera management package Cinemachine.
The original version uploaded on GitHub was v1.04
[1.05] - 2019/05/08
- Added the ability to add an offset to a camera’s defualt (0,0,0) position. @axesve