Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ewersp/CameraShake
An extensible, lightweight noise-based camera shake manager for Unity.
https://github.com/ewersp/CameraShake
camera unity unity3d
Last synced: 3 months ago
JSON representation
An extensible, lightweight noise-based camera shake manager for Unity.
- Host: GitHub
- URL: https://github.com/ewersp/CameraShake
- Owner: ewersp
- License: mit
- Created: 2016-12-27T19:55:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-03T09:46:22.000Z (over 5 years ago)
- Last Synced: 2024-07-14T14:32:28.998Z (4 months ago)
- Topics: camera, unity, unity3d
- Language: C#
- Size: 38.1 KB
- Stars: 57
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - CameraShake - An extensible, lightweight noise-based camera shake manager (Camera)
README
# CameraShake
An extensible, lightweight noise-based camera shake manager for Unity.This implementation generates a concatenated camera matrix which allows for multiple camera shakes to seamlessly stack together. This also allows for easy integration with existing camera behavior scripts because it's not actually modifying the camera's transform.
It can be used for short violent shakes, subtle ambient shakes and everything in-between. All the shake properties can be quickly tuned in the inspector for fast iteration cycles.
### Noise Types
* Sin
* PerlinHow to Use
------
1. Download and open the project (Unity 5.4.1).
2. Attach a CameraShakeManager to your camera.
3. Create a few CameraShake resources and edit the properties to your liking.
4. Play & Stop the effects via CameraShakeManager as desired.Example Screenshot
------
![Alt text](http://i.imgur.com/SYmmdND.png "Unity Editor Screenshot")Example GIFs
------
![Alt text](http://i.imgur.com/0RRelTb.gif "Unity Editor GIF")