12-10-2019, 03:38 PM
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
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