Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Follow Up Spline Issue
#4
(07-24-2019, 06:20 PM)_Aka_ Wrote: If A is a follow up of B, they both need to be part of the same connection, which is not your case if I understand properly. So before setting the followup, you should connect the cps with the same connection. This is what I do in the attached scene and code.
Your use case definitely made me realize that:
* SetFollowUp should have a feedback when called on two CPs not being part of the same connection
* Connection.AddControlPoints should have a feedback when trying to add A to a connection while it is already part of another connection. For now the method just returns with no feedback
I will add this feedback in one of the comming updates
My attached scene has all the splines in the same scene. This is different than your use case, but I don't think it will impact the final result. Let me know if you can't manage to make it work with multiple scenes.

Have a nice day

Hey! thanks for your help, that solution worked.

However my next issue is about the spline's not syncing up with each other. For some reason the spline seems to "wrap" back on itself. All of my splines are flat, but when these 2 splines are connected together, they don't connect seamlessly at the 2 points, they loop? See images below.

The first image is how it looks in-game, the second image shows how the 2 splines wrap around each other, the 3rd image shows how it is supposed to look.

Thanks!

[Image: pugwNhR.png]


[Image: cUht5CO.png]


[Image: qoJnmqv.png]

://imgur.com/cUht5CO
Reply


Messages In This Thread
Follow Up Spline Issue - by JHulse95 - 07-24-2019, 11:30 AM
RE: Follow Up Spline Issue - by _Aka_ - 07-24-2019, 05:42 PM
RE: Follow Up Spline Issue - by _Aka_ - 07-24-2019, 06:20 PM
RE: Follow Up Spline Issue - by JHulse95 - 07-25-2019, 10:59 AM
RE: Follow Up Spline Issue - by _Aka_ - 07-25-2019, 01:04 PM
RE: Follow Up Spline Issue - by JHulse95 - 07-25-2019, 01:44 PM
RE: Follow Up Spline Issue - by _Aka_ - 07-25-2019, 02:08 PM
RE: Follow Up Spline Issue - by JHulse95 - 07-25-2019, 02:34 PM
RE: Follow Up Spline Issue - by _Aka_ - 07-25-2019, 02:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Additional offset to Follow behaviour Ayyappa 3 7 04-30-2024, 01:35 PM
Last Post: _Aka_
  Rasterized Path Range issue proton 7 23 04-30-2024, 11:17 AM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: