Easy Shake
A c# component that shakes a transform.
Last updated
A c# component that shakes a transform.
Last updated
Can be used for Camera shakes or damage effects etc.
Shake Duration - How long to shake for ( < 0 for infinite)
Shake On Enable - Auto start the shake on enable
Movement Lerp Mod - Multiplier for the lerp delta that moves the Transform to the next shook position
Movements Per Second - How often to find a new shake position
Minimize Shake Over Time - Automatic falloff for the position and rotation offset as the duration approaches the end
Max Position Offset - How big each shake position can be
Max Rotation Offset Angles - How big of an angle each shake rotation can be
Destroy Component On End - Destroy self after a shake is completed
Press the Shake button to simulate the shake in Editor