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.
| attributes | description |
|---|---|
| None | Do 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. |
| Interpolate | Perform 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. |
| Extrapolate | Extrapolates the rigidbody to predict its motion during a time period outside of physics calculations, in order to avoid jitter and instability. |
