Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection does not work
#1
Exclamation 
There was such problem. I created the connection, everything is fine, but my game object just does not want to switch to the second spline Exclamation Exclamation Exclamation Exclamation  I tried all possible methods, I found nothing interesting in the documentation. To the post I attach screenshots, I would like to receive feedback as soon as possible. Thanks in advance for the help.
https://imgur.com/a/H6tnyPb - screenshot


Reply
#2
Hi,
So if I understand your issue: you have a spline controller traveling on a spline, but when it reaches the connection, it doesn't not continue on the connected spline. Correct me if I am wrong.
To be able to answer, I need you to tell me which version of Curvy you use.
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
The latest version of Curvy from Asset Store is used
Reply
#4
Ok. Then you can find on this link the documentation that would help you: https://curvyeditor.com/documentation/co...s_handling
If this doesn't help, please send me a scene reproducing your issue so I can dig into it.
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
I'm working now switching randomly, how to do what would work like on the stage with the train. Where the offset to another spline is clicked.
I'm implementing my handler and so on, the main thing for me to understand is where to specify that this cube would move either directly or in the side, depending on the tick
Reply
#6
In a nutshell:
- Train Car Manager (TrainCarManager.cs) adds a listener to the OnControlPointReached event of Spline Controller
- In that event listner, if the reached control point has a junction meta data (MDJunctionControl.cs) , it reads its value and selects the new spline accordingly.
- The UI tick is made using Unity's UI, and it updates the junction meta data.
You can always check how the scene 12_Train.unity is set up to see precisely how things work.
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
  Anomalous connection handling SAMYTHEBIGJUICY 1 417 12-04-2024, 05:08 PM
Last Post: _Aka_
  Connections doesn't work in split scenes nehvaleem 4 904 05-29-2024, 07:31 AM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 779 03-18-2024, 07:55 PM
Last Post: _Aka_
Thumbs Up Can't delete connection lacota 3 693 03-16-2024, 11:34 AM
Last Post: _Aka_

Forum Jump: