Skip to content

RigidbodyInterpolation

The RigidbodyInterpolation enumeration defines the interpolation properties of a Rigidbody, which can be used to control the smoothness and stability of the Rigidbody in physics simulation.

attributesdescription
NoneDo not apply interpolation to the rigidbody. It will be updated immediately based on the position and velocity calculated by the physics engine, which may result in some jittering and instability.
InterpolatePerform linear interpolation on a Rigidbody to smoothly move and rotate it between physics calculations. This interpolation method can effectively reduce jitter and instability, but may slightly decrease performance.
ExtrapolateExtrapolates the rigidbody to predict its motion during a time period outside of physics calculations, in order to avoid jitter and instability.