Move vertices to spline
-
On 05/12/2015 at 21:47, xxxxxxxx wrote:
If I have a arc spline how would I move the points of a object to the spline??
Thanks
-
On 06/12/2015 at 02:24, xxxxxxxx wrote:
Depends on the logic behind the move?
If you want the object's points move to defined positions on the spline, you can use GetSplinePoint() to calculate points on the spline by a position along the segment.
If you want the "closest" point on the spline, I don't know an API function but you can iterate/approximate depending on your spline's properties.
-
On 07/12/2015 at 02:01, xxxxxxxx wrote:
Hello,
to sample a spline one can also use the SplineLengthData and SplineHelp utility classes.
Best wishes,
Sebastian