MoveToCurveParam
double MoveToCurveLength (object curve, object obj, double param, double dampen )
Return Value: 1.0 for success, 0.0 for failure
Arguments:
curve | curve tool to attach obj to |
obj | item to attach |
param | parametric length along curve to place obj. ( 0 -> 1 ) ( does allow overinterpolation ) |
dampen | dampening value ( 0 -> 1) ( does not allow overinterpolation ) |
This function is identical to MoveToCurveLength( ) except that the length in this context is a parametric length ( i.e. a value of 0 indicates the beginning of the curve and a value of 1 indicates the end of the curve). Like it's counterpart this function will allow you to use "out of range" values for the param value causing the obj to be place off of the curve, again this is not recommended as the results can be unpredictable. This version of the MoveToCurve* functions can be useful if you want something to be place a certain percentage of the distance down the curve when the curve is expected to change it's length.
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |