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
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 7 644 02-07-2026, 07:59 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 494 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,056 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 5,619 07-13-2025, 07:11 PM
Last Post: _Aka_

Forum Jump: