if you mean screen shake, there is a variable (called var from now on) in the camera object i create which constantly lerps to 0. On hit, this var gets bumped up. the view is set to the camera object's position plus a random value between -var and var. thats all :)