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
  Generated mesh using bezier spline is not following the path accurately processor 3 273 08-25-2020, 04:39 PM
Last Post: _Aka_
  Max distance between points HTRCH 1 300 07-11-2020, 01:07 PM
Last Post: _Aka_
  Control points parenting briceio 2 462 06-18-2020, 04:12 AM
Last Post: briceio
  Control points close together causing mesh overlap amccraw 5 887 05-23-2020, 06:08 PM
Last Post: _Aka_

Forum Jump: