Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switching splines
#2
Hi

Here are the available events when using a Spline Controller: https://curvyeditor.com/documentation/controllers/start#events
Notably, the OnEndReached event

Here is the API reference for the connections class: https://api.curvyeditor.com/710/class_fluffy_underware_1_1_curvy_1_1_curvy_connection.html
Notably, the ControlPointsList property

Scene 12_Train uses splines switching using connections and API. Its use case is different than (what I understand is) yours, but it might be helpful to check how it works. Its associated script is: E12_TrainCarManager. The OnCPReached method is the most interesting part.

I hope this helped
If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
Switching splines - by linkinballzpokemon - 04-12-2022, 05:40 PM
RE: Switching splines - by _Aka_ - 04-13-2022, 01:40 PM
RE: Switching splines - by linkinballzpokemon - 04-13-2022, 02:00 PM
RE: Switching splines - by _Aka_ - 04-13-2022, 04:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information New free asset: Converter For Unity Splines _Aka_ 9 26 05-17-2024, 09:35 AM
Last Post: _Aka_
  Twisting Splines ZiggZagg 6 11 05-14-2024, 04:48 PM
Last Post: _Aka_
  Help with procedural roads and splines ramiroflores 1 6 05-07-2024, 08:57 AM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_

Forum Jump: