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
Heart Create beautiful curves ShiroeYamamoto 3 11 03-26-2024, 06:25 PM
Last Post: _Aka_
  Is it possible to create a road texture at runtime? artsung 1 4 01-30-2024, 09:30 AM
Last Post: _Aka_
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 19 07-26-2023, 10:06 PM
Last Post: _Aka_

Forum Jump: