Garry's Mod Wiki

Garry's Mod Wiki

  number math.ease.InOutBack( number fraction )

Description

Eases in and out by reversing the direction of the ease slightly before returning on both ends.

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...