Posts: 2,160
Threads: 95
Joined: Jun 2017
To modify it at runtime, use the From and To settings of the module. Check Curvy's API reference for more details about how to use them.
Posts: 8
Threads: 2
Joined: Jul 2023
(07-12-2023, 09:18 AM)_Aka_ Wrote: You will then have to use the Range parameter from the Rasterize Path module.
Yes,I also found this parameter, I know that I can use this parameter to control the display length of the line segment, but how do I get the exact percentage of the next point in the entire line segment?
For example, now that I have a CurvyUISpline consisting of 11 CurvySplineSegment, if I need to display 1-2 lines now, the value of the Range variable is 0.1, but because the lengths between points are not equal, when I need to display 1-3, the value of the Range is not 0.2. How do I get the exact value of the Range variable?
Look forward to your reply
Posts: 2,160
Threads: 95
Joined: Jun 2017
Each control point has a Distance property. Each spline has a Length property. The values of the From and To range parameters should be equal to Distance/Length