protected override void PrecalculatePathData() { base.PrecalculatePathData(); // Place the two control nodes var splineNodeLength = Path.Count + 2; _splineNodes = new Vector3[splineNodeLength]; _splineNodes[0] = Path[0] - Normals[1] * 2; for (var i = 0; i < Path.Count; i++) { _splineNodes[i + 1] = Path[i]; } _splineNodes[splineNodeLength - 1] = Path.Last() + Normals.Last() * 4; }