๐นCamera Shake
In this section you will learn about the camera shakes.
Last updated
In this section you will learn about the camera shakes.
Last updated
Camera Shake is an important aspect of the camera animation in game. The FPS Animation Framework allows you to play the camera shakes in runtime, by simply accessing the FPSCamera component:
The cameraShake parameter is a Scriptable Object, which you can create by right-clicking:
Create -> KINEMATION -> FPS Animator General -> Camera Shake
X, Y and Z are animation curves, which animate the respective rotation axis.
Pitch, Yaw and Roll represent the ranges for minimum and maximum target values. The value is computed using this formula:
Smooth Speed defines the interpolation speed.
Play Rate defines the animation speed.