motion_curve <name> ( <curve>, in = <pre extrapolation type>, out = <post extrapolation type> )
in = <pre extrapolation type>, out = <post extrapolation type> )
This allows you to specify a 3D spline curve to be used for animation. Usually the spline curve is used as a motion path. The extrapolation type arguments define how to evaluate the curve outside of its usual range. The motion_curve data type is usually used in conjunction with the extract and animate functions.
motion_curve motion_path ( curve#2, in = PRE_CONSTANT, out = POST_CONSTANT );