How I can get point by 'x' attribute from CatmullRomCurve3?

1

I want to get y value from x attributes.

If it possible to get y value from x I need to know how to gete length from point? ( curve.points[ 1 ] = length ?? )

*** this image display by use linear line not catmull-rom curve

CatmullRomCurve3 is a parametric curve which is sampled with a value in the range of [0,1]. So sampling your spline via Curve.getPoint() or Curve.getPointAt() returns a point in 3D space. This is the only way you can derive points from a parametric curve.

2 Likes