04-13-2022, 01:40 PM
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
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.