Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 541 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 541 Bytes

CameraShake

alt text

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