Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reversing over Connection CP from Junction
#1
How do I set the CP / Spline Controller settings in the inspector to enable a train to reverse direction over a Connection with MDJunctionControl.UseJunction = true.  

- Curvy 6.1.0 / Unity 2019.2.16
- followed the example scene 12 to create a simple train track layout with a spline A (main track) and a spline B (siding track), connected at a single CP.  The splines are not closed loops.
- created a train with 2 cars, each with 3 spline controllers (for the car body and the 2 wheel sets on each car).
- the train can travel both forward and backward along the main line (across the connection) with MDJunctionControl.UseJunction = false.  The train cars do not change direction while reversing which is the way I have selected.  This part works fine.
- the train can travel onto the siding track with MDJunctionControl.UseJunction = true.  It can then travel forward and backward along the siding track.  This part works fine.

   

---> the issue is if I try to back the train from the siding track onto the mainline, it gets all messed up upon reaching the connection CP and progress stops.  The spline controllers bounce back and forth across the CP and the overall train just stays there.
- the spline controllers on the train parts remain set to spline B (the siding track) after reaching the CP
- different combinations of MDJunctionControl.UseJunction, FollowUp, orientation direction settings, etc. seem to have no effect.

   

   

I think its most likely that I don't have the settings arranged correctly?  I've tried lots of different combinations over the past 2 days with no result.  What settings might make reversing through a connection from the junction spline work?
Reply


Messages In This Thread
Reversing over Connection CP from Junction - by Rei11 - 01-07-2020, 10:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
Thumbs Up Can't delete connection lacota 3 6 03-16-2024, 11:34 AM
Last Post: _Aka_
Lightbulb Junction & Connection Navigation System Design SAMYTHEBIGJUICY 4 13 11-27-2023, 01:04 PM
Last Post: _Aka_
  Connection "next' control point jh092 3 15 11-22-2023, 11:47 AM
Last Post: _Aka_

Forum Jump: