Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Smoothly connecting to Linear spline
#1
Hi there,

I am trying to connect a Catmull Rom (or Bezier) to a Linear spline. Each has the follow-up set correctly.

Is there a way to align the Catmull Rom connection to the Linear so the connection is smooth? I am doing this in code not in the editor if that matters.

[Image: 2023-12-23-05-41-45-Working-Title-2-Main...1-DX11.png]

Thank you and Happy Christmas and 2024 from Australia (currently 35 deg C argh)

John
Reply
#2
Hi
This is easily done with Bezier spline: just set the last CP's bezier handles so that the in-handle is on the same line than the linear spline.
For Catmull Rom splines, there might be a clear formula to achieve that, but I am unaware of it. The idea would be to set the Auto End Tangents settings of the spline to false, and then place the last CP to some position that gives the proper result.
I hope this helped.
Have a nice day
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Spline Spots from 2 samples. BitBlit 8 655 06-30-2026, 11:49 AM
Last Post: _Aka_
  Best way to duplicate a spline with an offset Kapistijn 8 2,068 04-12-2026, 03:18 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 867 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,898 07-29-2025, 09:15 PM
Last Post: _Aka_

Forum Jump: