Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

RigidbodyInterpolation

Description

Rigidbody interpolation mode.

For the main characters or vehicles that are followed by the camera it is recommended to use interpolation. For any other rigidbodies it is recommended not to use interpolation.

See Also: Rigidbody.interpolation variable.

Variables

NoneNo Interpolation.
InterpolateInterpolation will always lag a little bit behind but can be smoother than extrapolation.
ExtrapolateExtrapolation will predict the position of the rigidbody based on the current velocity.