Curve3.CreateCatmullRomSpline Creates (nbPoints * 2) + 1 points?

Why does this method create double the input nbPoints?

As I am catmull n00b, let me add @bghgary who I think added this in ?

I didn’t add this, but the description of nbPoints says:

the wanted number of points between each curve control points

Seems to be a correct number afterwards?

ahhh so its nbPoints * path.length?

Looks like it is nbPoints * points.length + 1 if closed is true or nbPoints * points.length if closed is false.

1 Like