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
  Max distance between points HTRCH 1 112 07-11-2020, 01:07 PM
Last Post: _Aka_
  Control points parenting briceio 2 220 06-18-2020, 04:12 AM
Last Post: briceio
  Control points close together causing mesh overlap amccraw 5 476 05-23-2020, 06:08 PM
Last Post: _Aka_
  How to I get positions between control points dazz777 0 221 05-08-2020, 05:12 PM
Last Post: dazz777

Forum Jump: