Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to I get positions between control points
#1
Hi, so I can get all the positions in a spline by using InterpolateByDistance but how would I go about getting the positions between 2 Control points
CP0001 and CP0002 for example.

I had a go but it's not giving me the results I'm expecting.

Cheers.

EDIT - It's ok I've worked it out
Reply
#2
(05-08-2020, 05:12 PM)dazz777 Wrote: Hi, so I can get all the positions in a spline by using InterpolateByDistance but how would I go about getting the positions between 2 Control points
CP0001 and CP0002 for example.

I had a go but it's not giving me the results I'm expecting.

Cheers.

EDIT - It's ok I've worked it out

Hi. How did you manage to do this in the end?

Thanks.

Philip
Reply
#3
For future reference, the answer is using the GetApproximations() method, available both for CurvySpline, and CurvySplineSegment
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  interpolate to nth control point appropriate_ladder 1 40 02-22-2021, 08:27 AM
Last Post: _Aka_
  Aligning objects from points on spline Lupp_ 4 124 02-20-2021, 05:14 PM
Last Post: Lupp_
  Closest Spline & control points loop in both directions nehvaleem 13 485 02-02-2021, 11:45 AM
Last Post: _Aka_
  Max distance between points HTRCH 1 527 07-11-2020, 01:07 PM
Last Post: _Aka_

Forum Jump: