Beispiel #1
0
    void getPoints()
    {
        Vector3[] inputPoints = new Vector3[] { startPosition, Vector3.Lerp(startPosition, endPosition, 0.33f) - Offset1, Vector3.Lerp(startPosition, endPosition, 0.67f) - Offset2, endPosition };

        bPoints = new List <Vector3>();
        bPoints.AddRange(bSpline.GetPoints(inputPoints));
    }