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
  Obstacle Moving Along the spline Chanon 1 7 06-13-2022, 04:13 PM
Last Post: _Aka_
Wink Moving object along spline close to player minaa 7 23 12-27-2021, 02:39 PM
Last Post: _Aka_
  Train car orientation on slopes bennidhamma@gmail.com 3 1,027 03-26-2021, 10:30 AM
Last Post: _Aka_
  Player to Train DeadCcell 3 1,210 12-08-2020, 08:07 AM
Last Post: _Aka_

Forum Jump: