Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control Points vs. actual spline points
The documentation and function calls all involve adding control points, but in Catmull-Rom the control points and the spline points that the curve passes through (frequently called 'knots') are separate and normally not collocated.  Mixing the meaning of the two can cause weirdness like kinks and twists, and it looks from the demos and the API like maybe that distinction is not made clear.

It would be good if you could add knots OR control points to the spline (control points are derivable from two/three knots), because although control points are maybe easier from a calculation point of view, the knots themselves are the points through which you expect the spline to travel.
All the supported spline types have their curves go through the Control Points, so in Curvy there is no actual need to differentiate between CPs and knots, and I guess renaming CPs would confuse a lot more people...

Possibly Related Threads...
Thread Author Replies Views Last Post
  Best practice for mass-object instancing along 100km spline (railways) plus streaming 6 90 09-13-2019, 12:30 PM
Last Post: _Aka_
  How to spawn GameObjects on corners of the liinear spline? Pixel Flipper 4 53 09-13-2019, 08:04 AM
Last Post: Pixel Flipper
  How to properly set UV for extruded spline texture Pixel Flipper 3 61 09-05-2019, 11:55 AM
Last Post: _Aka_
  Steer Towards Spline whitecastleroad 3 76 09-04-2019, 01:39 PM
Last Post: _Aka_

Forum Jump: