RigidbodyInterpolation.Interpolate Manual     Reference     Scripting  
Scripting > Enumerations > RigidbodyInterpolation
RigidbodyInterpolation.Interpolate

RigidbodyInterpolation.Interpolate

Description

Interpolation will always lag a little bit behind but can be smoother than extrapolation.

See Also: Rigidbody.interpolation variable.

JavaScripts
rigidbody.interpolation = RigidbodyInterpolation.Interpolate;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
rigidbody.interpolation = RigidbodyInterpolation.Interpolate;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
rigidbody.interpolation = RigidbodyInterpolation.Interpolate