Skip to content

harshit211997/ShakyCamera

Repository files navigation

Shaky Camera

A realistic way to implement Camera Shake in Unity.

Spooky Alien Shakes

Inspired from the GDC talk "Math for Game Programmers"

IMAGE ALT TEXT HERE

Feel free to use it!

Instructions to use the demo

Step 1. Download the repository and Open it in Unity

Step 2. Open the "demo_scene" in Scenes folder

Step 3. In play mode, press "Space to see the shake in action"

Instructions to use it in your project

Step 1. Download the repository and Open it in Unity

Step 2. Copy the "ShakyCamera.cs" file in Scripts folder, to your project folder

Step 3. Add the ShakyCamera script to your main camera

Step 4. Get a reference to your camera in some of your old script and call camera.GetComponent().Activate()

Step 5. Enjoy the Shake!

Contribution

Feel free to contribute by making a pull request!

About

A realistic camera shake implemented in Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages