Example #1
0
    void Update()
    {
        transform.position = Bezier.BezierInterp(t, p0, p1, p2, p3);

        t += 0.001f;
        if (t > 1.0f)
        {
            t = 0.0f;
        }
    }