Curvy package...How can i get all points

Hi everyone. Im using Unity curvy package, when i make curvy wall with 3 control points. These points are connect to red line, which is formed from this package(CurvySpline.cs and SplinePathMeshBuilder.cs), on this red line is mesh (cube) and then i have wall.
So i need all position of these points from this red line.
Anybody using this package, and can help me?
Here is picture for better understanding… what i need.


33169-screenshot_1.png

I don’t have this package, but you usually just have to sample the positions at your desired interval. Looking at the docs it seems that Interpolate is most likely what you want.

There is no way to get “all” points on a spline since a spline by itself is infinitely precise. You usually sample the spline at certain intervals. For example if you increase the “t” value by 0.1 each step, you get 11 points (0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0). But if you increase by 0.01 you get 101 points on the exact same spline.

My problem is solved. I found in my script, its name is “CurvySpline.cs” some function (public Vector3 GetApproximation(bool local)), when i can see all points, what this script makes. Then i will make my own script and copy this points and their position on my Vectro3.

floor_instantiate.GetComponent<FollowPointsCurveWall> ().singlewalls = apps;
floor_instantiate.GetComponent<FollowPointsCurveWall> ().onStarting ();
return apps;