How it works...

In this recipe, we've animated the camera's position and rotation relative to the CameraRig object. This way we can still move the CameraRig (or attach it to a character). Our CameraShake animation only affects the local position and rotation of the camera. In the script, we simply call the Shake Trigger to play the CameraShake animation once.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.138.177