CameraShake
Handle Camera Shake Effect for the Camera. This uses Perlin Noise to ensure randomness.
Functions | CameraShake.cs
Shake(float amount, float power, float movementAmount, float rotationAmount)
Apply Camera Shake effect on the camera Automatically.
Amount: Strength of the camera shake.
Power: Strength of the Perlin Noise Effect.
Movement Amount: Magnitude of Position Lerping allowed.
Rotation Amount: Magnitude of Rotation Lerping allowed.
ExplosionShake(float distance)
Apply Explosion Camera Shake effect on the camera Automatically, already configured to simulate explosions.
• Distance: Magnitude of distance from the explosion, the system automatically calculates the amount of camera shake.
Last updated