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
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 0 0 2 hours ago
Last Post: ShiroeYamamoto
  Does CurvySplines support displaying handles and points during runtime? niuage 1 7 12-11-2023, 12:01 PM
Last Post: _Aka_
  animating points on a spline Antonio 11 19 09-17-2023, 09:55 AM
Last Post: _Aka_
  how to make fast moving controller go all the way to linear points?(curvy8) hawken 7 12 06-06-2023, 09:47 AM
Last Post: _Aka_

Forum Jump: