Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection does not work
#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


Messages In This Thread
Connection does not work - by Sergei543071 - 07-27-2018, 11:25 PM
RE: Connection does not work - by _Aka_ - 07-28-2018, 10:26 AM
RE: Connection does not work - by Sergei543071 - 07-28-2018, 10:57 AM
RE: Connection does not work - by _Aka_ - 07-28-2018, 11:00 AM
RE: Connection does not work - by Sergei543071 - 07-28-2018, 11:12 AM
RE: Connection does not work - by _Aka_ - 07-29-2018, 08:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb Junction & Connection Navigation System Design SAMYTHEBIGJUICY 6 3,471 03-25-2026, 10:10 PM
Last Post: _Aka_
  Anomalous connection handling SAMYTHEBIGJUICY 1 1,359 12-04-2024, 05:08 PM
Last Post: _Aka_
  Connections doesn't work in split scenes nehvaleem 4 2,888 05-29-2024, 07:31 AM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 2,641 03-18-2024, 07:55 PM
Last Post: _Aka_

Forum Jump: