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

The demo is fine with 1 wagon but I'm having the issue that I need to create a train with 7 to 8 wagons attached. If I tell them to follow the path, they begin overlapping and doing weird things... you can clearly see they are not connected, sometimes one speeds up vs the other or rotates weird.

Do you guys have a demo with a train with several wagons attached and following the rails? How's it possible to achieve and making it look right?
Reply
#2
The 12_Train examples uses a train with 4 waggons. Basically we have a SplineController for each axis and a manager script that adapts for inaccuracy (floats, cache interpolation) from time to time.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to ping-pong a train? jamesunity 5 902 07-13-2020, 11:56 AM
Last Post: _Aka_
  Train tracks with transparent middle? jh092 4 721 07-03-2020, 07:13 PM
Last Post: _Aka_
  Moving multiple controllers at once Lupp_ 23 6,875 02-10-2020, 11:19 PM
Last Post: _Aka_
  Moving freely on the Y axis? clearleaf 6 3,137 01-30-2020, 11:21 AM
Last Post: ATHellboy

Forum Jump: