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.