|
Interpolation will always lag a little bit behind but can be smoother than extrapolation.
See Also: Rigidbody.interpolation variable.
rigidbody.interpolation = RigidbodyInterpolation.Interpolate;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
rigidbody.interpolation = RigidbodyInterpolation.Interpolate;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
rigidbody.interpolation = RigidbodyInterpolation.Interpolate