Garry's Mod Wiki

math.ease.InOutBounce

  number math.ease.InOutBounce( number fraction )

Description

Eases in and out like a bouncy ball.

This doesn't work properly when used with Lerp as it clamps the fraction between 0 and 1. Using your own version of Lerp that is unclamped would be necessary instead.

Arguments

1 number fraction
Fraction of the progress to ease, from 0 to 1

Returns

1 number
"Eased" Value