Skip to content

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

Notifications You must be signed in to change notification settings

ForlornU/CameraShake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages