An open API service indexing awesome lists of open source software.

https://github.com/forlornu/camerashake

A camera-shake script for unity3d. An example "trigger" is used in this project that takes into account the distance from an explosion, shaking the camera more or less depending on how far away they are
https://github.com/forlornu/camerashake

camera-shake game-development unity3d

Last synced: about 1 month ago
JSON representation

A camera-shake script for unity3d. An example "trigger" is used in this project that takes into account the distance from an explosion, shaking the camera more or less depending on how far away they are

Awesome Lists containing this project

README

          

# CameraShake

![alt text](https://github.com/ForlornU/Images/blob/main/CamShakeThumbnail.png)

A camera-shake script for unity3d

Contains 2 script
- CameraShake
- ExampleTrigger

CameraShake.cs goes on your camera, I suggest parenting the camera to an empty game object and zeroing its transform values
ExampleTrigger.cs Can be attached to any other object, the closer that object is, the stronger it will shake the camera

Explained in video here: https://youtu.be/EQYVa5Oe8EU

Copy and paste the code or clone the files to your computer