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
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 18 02-24-2024, 10:43 AM
Last Post: _Aka_
  Does CurvySplines support displaying handles and points during runtime? niuage 1 7 12-11-2023, 12:01 PM
Last Post: _Aka_

Forum Jump: