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
Wink Train carriage with 2 bogies following a path arcadeperfect 9 27 08-25-2023, 02:56 PM
Last Post: arcadeperfect
  Moving object down or up the spline using gravity velikizlivuk 6 20 07-26-2023, 10:06 PM
Last Post: _Aka_
  how to make fast moving controller go all the way to linear points?(curvy8) hawken 7 12 06-06-2023, 09:47 AM
Last Post: _Aka_
  Obstacle Moving Along the spline Chanon 1 7 06-13-2022, 04:13 PM
Last Post: _Aka_

Forum Jump: