Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to create a moving train that slows and stops at stations
#9
Hello there,

I am also trying to animate trains via keyframing but the train won't move.

I am using the standard Unity Animator component on the highest level "Train Object" and keyframe the position value in its Train manager component by recording in the Unity Animation panel. While the value does change, the train just remains stationary.

I have found that it is possible to animate position values in the spline controllers of individual train car parts (wagon/front/rear axis for each car) but then of course the relative spacing between those parts gets lost and all train parts of all cars get the very same position -> a cluster of objects on top of each other moves along the track -.-

Is there another way to animate the position of `just the train“ as a whole?

Best regards,
Bodo
Reply


Messages In This Thread
RE: Trying to create a moving train that slows and stops at stations - by bs@vectorvision.de - 12-10-2019, 03:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create Game Object Renaming Options rickgplus 1 934 09-23-2025, 09:33 AM
Last Post: _Aka_
  Create Mesh Node, Make Static Options rickgplus 1 1,833 01-23-2025, 10:12 AM
Last Post: _Aka_
  Moving Platform Kokoriko49 8 4,311 09-23-2024, 09:20 AM
Last Post: _Aka_
  Train-Wagon Wheels stathias 3 2,235 08-30-2024, 12:46 PM
Last Post: stathias

Forum Jump: