Animating With A Motion Path In Maya And Exporting To COLLADA Format

(c) copyright Zehne Ziba Co., Ltd. For more information, please refer to copyright notice.

In practical use, you would want to animate an object along a curve if you were animating a complicated path for a train, car, plane, etc. There are also other uses you might find like animated sprite effects along a curve. This tutorial features a space ship and curve.

 

 

 

 

 

Maya-Animate-Along-Curve-Export-COLLADA-Image1

Then, select a primitive curve or create your own with one of the methods on the shelf, if you are familiar with a pen tool then you will probably like the bezier curve tool which is what I’ll be using here. However if the bezier is too much, there are other tools on the shelf that can accomplish the same thing.

Maya-Animate-Along-Curve-Export-COLLADA-Image-2

Click and drag depending on the curve you are using, and continue to click on the grid until you’ve finished the curve, then press “Q“ to return to your selector tool or press enter when you are done. It’s suggested to draw your curve in an orthographic view from the top. Once you have finished the curve, you may find the pivot is off center which will make issues when trying to place and rotate your curve. Go to Modify, Center Pivot. The rotation, scale, and translation pivot will now be centered to your curve.

Maya-Animate-Along-Curve-Export-COLLADA-Image-3

Once you have finished your curve, bring in your object that will be animated, here it’s a ship. Click on your object then shift+click on the curve. It should look like this:

Maya-Animate-Along-Curve-Export-COLLADA-Image-4

Now, go to Animate, Motion Paths, Attach to Motion Path. Click on the hollow square on the right to pull up the options.

Maya-Animate-Along-Curve-Export-COLLADA-Image-5

These are the settings I used to get the ship to face the right direction, however yours may differ depending on your model.

Maya-Animate-Along-Curve-Export-COLLADA-Image-6

It should be animating along the curve now.

Maya-Animate-Along-Curve-Export-COLLADA-Image-7

Go to File, Export All…, and click on the hollow box to the right.

Maya-Animate-Along-Curve-Export-COLLADA-Image-8

Match the settings to this then click Export All.

Maya-Animate-Along-Curve-Export-COLLADA-Image-9

Finally, open Vanda Engine, Make sure that you are in Prefab mode (Mode | Prefab), add _LOD1 post-fix to the  name of your dae file (for example spaceship_LOD1.dae) and go to File, Import, External Scenes… Select the scene you just exported from Maya and your object will be animating along the path now in Vanda Engine.

[youtube_video] vk1IZzxqzj8 [/youtube_video]

Related Tutorial

maya

Using Multiple Materials in Maya and Exporting to COLLADA Format

This tutorial goes over how to create two separate materials for an object in Maya, then continuing to export them to Collada format with OpenCollada.

arrow-leftPrevious Tutorial

Next Tutorialarrow-right

Let’s stay in touch!

Never miss a single tutorial, sign up for our monthly newsletter. You can unsubscribe at any time if you wish to stop receiving email newsletters from vandaengine.org

[alert color=”white”]

The Author

Krista_Albert

Krista Albert     (Kalbert.1993@gmail.com)

 I’m an aspiring 3D game artist and a current student at the School of Visual Arts. My main focus right now is in modeling/sculpting, texturing, and lighting 3D environments as well as characters.

[/alert]

adminAnimating With A Motion Path In Maya And Exporting To COLLADA Format