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
  Train car orientation on slopes bennidhamma@gmail.com 3 744 03-26-2021, 10:30 AM
Last Post: _Aka_
  Player to Train DeadCcell 3 946 12-08-2020, 08:07 AM
Last Post: _Aka_
  How to ping-pong a train? jamesunity 5 2,275 07-13-2020, 11:56 AM
Last Post: _Aka_
  Train tracks with transparent middle? jh092 4 1,900 07-03-2020, 07:13 PM
Last Post: _Aka_

Forum Jump: