Custom resource for Catmull-Rom splines in 2D and 3D for Godot. They are like Bezier curves but the control points are calculated from the curve points. They are less flexible but allow to get a smooth curve faster.
- float torsion: controls the curve shape.
- void update_control_points(): converts Catmull-Rom spline into Curve2D/Curve3D (Bezier) calculating the controls points. This method is called automatically when a point on the curve is added, deleted or changed.