New answers tagged aiming
You may use splines to predict body trajectory based on short history. For example, script below interpolates trajectory of object with cubic splines then use these spline to extrapolate future movement of the object. using UnityEngine; using System.Collections; using System.Collections.Generic; // Natural cubic spline public class CubicSpline ...
Top 50 recent answers are included