Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Equally spaced points on Bezier
#1
Is there functionality in Curvy to obtain equally spaced points from a Bezier curve?

For example, if you requested 10 equally spaced points from a curve, you would receive 10 points back that are all equal distance apart (or as close as possible to equal).  The distance between the points is measured along the curve.
Reply
#2
Hi,
Use CurvySpline.InterpolateByDistance(x), with x being (CurvySpline.Length / 10) * index, the index being a value from 0 to 10
Is it clear?
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
That is perfect, thank you!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Invert the spline points ? UsernameHed 1 91 09-21-2019, 03:22 PM
Last Post: _Aka_
  How to get list of control points dazz777 1 387 05-22-2019, 02:12 PM
Last Post: _Aka_
  Curvy Coppy all points of a Spline Into Another UsernameHed 3 727 05-13-2019, 11:37 AM
Last Post: _Aka_
  Move between control points Livealot 2 1,317 08-02-2018, 07:33 PM
Last Post: Livealot

Forum Jump: