Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SplineController slows down approaching connections
#1
Hi again,

I'm using the default SplineController to move an object. I have multiple splines joined with connections. The object slows down as it approaches each connection then speeds up again after continuing to the next spline.

I'm wondering how do I change this behaviour so the speed through connections remains constant?

many thanks

John
Reply
#2
Hi,
A similar question to yours was asked on the forum, and here is my answer
https://forum.curvyeditor.com/thread-893...ml#pid3440
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
#3
Ah makes sense, thank you.

I'm not 100% clear though, once I have calculated what the speed should be according to those links, would I set the SplineController speed in my Custom Selector script once I have determined which spline is next? Is that the correct place to change the speed?
Reply
#4
I would personally have put the speed change in the event handler of the OnEndReached or the OnControlPointReached events, but I see no argument to oppose the idea of putting it in the Custom Selector script, besides it not being good design (a selector should select and nothing more).
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#5
Thank you again for your help, very much appreciated.

John
Reply
#6
You are welcome. If and when you feel like it, please leave a review for the asset, that helps a lot.
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
  Connections Between Opposing Splines lockiidraws 1 37 12-04-2025, 02:14 PM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 3,335 07-29-2025, 09:15 PM
Last Post: _Aka_
  Procedural Connections Janooba 3 1,737 10-23-2024, 02:53 PM
Last Post: _Aka_
  Connections doesn't work in split scenes nehvaleem 4 2,115 05-29-2024, 07:31 AM
Last Post: _Aka_

Forum Jump: