RigidbodyInterpolation.Extrapolate Manual     Reference     Scripting  
Scripting > Enumerations > RigidbodyInterpolation
RigidbodyInterpolation.Extrapolate

RigidbodyInterpolation.Extrapolate

Description

Extrapolation will predict the position of the rigidbody based on the current velocity.

If you have fast moving objects this can lead to rigidbodies passing through colliders for one frame and then snapping back.

rigidbody.interpolation = RigidbodyInterpolation.Extrapolate;

See Also: Rigidbody.interpolation variable.