SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Maya Questions / Animation / Animating a train on a path

Animation Animation & Rigging Related Topics

Join the conversation. Reply to post
 
Thread Tools
30-12-2014, 07:20 PM   #1
persius
Subscriber
 
Join Date: Sep 2003
Posts: 23
Animating a train on a path
Hello
Typically my work revolves around modeling but I'm trying out a new project just for fun and I wanted to toss this question out to experienced animators.

The animation is very simple. I would like the train with three or four cars to ride on a track and the path will have a simple turn that enters a tunnel.
The following are the only two questions that came to mind.

1. What is the best way to have the train and cars to follow the path?

2. As for the track, I'm guessing I should create the path I want the train to follow and extrude the rails along that path or is there a better/easier option for an animation?

Any thoughts will be appreciated.


Thank you.
  Reply with quote
30-12-2014, 10:53 PM   #2
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
If the bend is slight you might get away with a flow path, if not it gets a little tricky as you will have each carriage off set on the curve and aim constraints so the boggy wheel or linkage of each carriage follows the one in front. to make the track you can copy the curve and extrude the metal rail, for the sleeper you can use the create animation snapshot....................dave
__________________


Avatar Challenge Winner 2010
  Reply with quote
31-12-2014, 01:55 AM   #3
persius
Subscriber
 
Join Date: Sep 2003
Posts: 23
Hi

Thanks for stopping by. I'll give it a try and see what happens. I don't need anything too complicated as long as it stays on the track and moves along.

Thanks again.
  Reply with quote
01-01-2015, 02:54 PM   #4
lauris47
Registered User
 
Join Date: Sep 2011
Posts: 109
I did whole mini game like this. I used path and attached model of carriage to it. Then it is just settin key frames for rotation and speed. There was a lot of graph editor work though.
The biggest problem was that if some things went wrong, I had to redo whole sequence. So plan ahead what elements you need. Fx I learned that speed had to be animated first, then rotations of carriage and then details. If you do speed after any other key frames, the sequence will be ruined because of speed inaccuracies.
That's what I created: http://lubyslaurynas.com/roller_field.html
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flow Path Object - shoots off path at end 9krausec Maya Basics & Newbie Lounge 3 11-11-2016 05:59 PM
animating along a motion path MamoruK Animation 12 05-09-2016 12:50 PM
animating ncloth along path ringdingdong Dynamics & Special Effects 3 01-06-2012 10:15 AM
Flow Path Object / Motion Path does not work after frame 10 MBurns00 Maya Technical Issues 3 11-03-2011 06:37 PM
Animating along a motion path! with a twist undseth Animation 18 06-11-2002 03:42 PM