Search Unity

scaling camera shake pattern

Discussion in 'Scripting' started by Deleted User, Jan 30, 2013.

  1. Deleted User

    Deleted User

    Guest

    hi!

    I'd like to use a camera shake that rises the shaking strengh by time and also releases its strengh, let's say on event with a different time value. And i found those 3 camera shake scripts but i don't know how to scale it up, so it can start with a lower strengh by rising it from time to time stronger. how can i scale up and down a scripted shake pattern via code?

    http://www.mikedoesweb.com/2012/camera-shake-in-unity/
    http://biks3d.wordpress.com/2012/09/29/camera-shake-effect-in-a-fps-game/
    http://answers.unity3d.com/questions/46317/screen-shake-effect.html

    appriciate every help! thnx!
     
  2. Bikebreck

    Bikebreck

    Joined:
    Aug 4, 2010
    Posts:
    112
  3. Deleted User

    Deleted User

    Guest

    Thnx problem solved!