Exemplo n.º 1
0
        public Vector3 InterpolateNormal(float localF)
        {
            localF = Mathf.Clamp01(localF);

            return(Spline.CatmulRom(PreviousNormal, Normal, NextNormal, GetNext2Normal(), localF));
        }
Exemplo n.º 2
0
        public Vector3 Interpolate(float localF)
        {
            localF = Mathf.Clamp01(localF);

            return(Spline.CatmulRom(PreviousPosition, Position, NextPosition, GetNext2Position(), localF));
        }