6

I created a very simple railroad using an array-modifier followed by an curve-modifier, after that I wanted to run a train on the railroad. The Locomotive is consisting of several grouped objects which can be moved as a whole.

enter image description here

When a add another curve modifier to the groups parent all other grouped items stay in their previous location.

How could the group be moved along the curve?

enter image description here

iKlsR
  • 43,379
  • 12
  • 156
  • 189
stacker
  • 38,549
  • 31
  • 141
  • 243
  • Chcek this movie (shows how to run train on the rails): https://www.youtube.com/watch?v=OM9Nso_ncEk – Alex Feb 24 '14 at 12:57

2 Answers2

5

It seems you have added a curve modifier which will 'bend' the object along the curve.

What you want to do, is to go to the Constraints-panel and add a Follow Path constraint to the parent. From there you can tick Follow Curve and press Animate Path to make the train drive along the rail.
enter image description here

gandalf3
  • 157,169
  • 58
  • 601
  • 1,133
Wedel
  • 328
  • 2
  • 10
  • You forgot to explain why the other objects are staying on the initial position: Just parent the other objects to the Locomotive! – Polosson Aug 21 '13 at 09:02
  • 1
    I understood that the objects already had a parent from the question, but I just edited in that the constraint should be added to the parent. Thanks. – Wedel Aug 21 '13 at 09:26
4

Objects in groups don't move together like in 3D Max. You have to parent the objects:

  1. Select all the objects that need to move together.
  2. Select the parent (the one guiding the rest) a second time (holding shift).
  3. Ctrl + P -> Set parent to Object (Keep transformations)
    • Alt + P = Clear parent

The "Keep transformations" part is so the object stays in place (an issue with world / object space).

krivar
  • 671
  • 5
  • 13