equation = function (t, val0, val1, val2, val3) {
                var res = (1.0 - t) * (1.0 - t) * (1.0 - t) * val0 + 3.0 * t * (1.0 - t) * (1.0 - t) * val1 + 3.0 * t * t * (1.0 - t) * val2 + t * t * t * val3;
                return res;
            }
Returns a Curve3 object along a Cubic Bezier curve : http://doc.babylonjs.com/tutorials/How_to_use_Curve3#cubic-bezier-curve
@param v0 (Vector3) the origin point of the Cubic Bezier
@param v1 (Vector3) the first control point
@param v2 (Vector3) the second control point
@param v3 (Vector3) the end point of the Cubic Bezier
@param nbPoints (integer) the wanted number of points in the curve