# createMotionTrack.mel Script Help

**URL:** https://forum.highend3d.com/t/createmotiontrack-mel-script-help/47473
**Category:** Maya
**Tags:** rigging-character
**Created:** [July 7, 2011, 8:17pm UTC](https://forum.highend3d.com/t/createmotiontrack-mel-script-help/47473 "2011-07-07T20:17:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![aceofaces](https://forum.highend3d.com/user_avatar/forum.highend3d.com/aceofaces/32/634_2.png) [@aceofaces](https://forum.highend3d.com/u/aceofaces)
#### Post date: [July 7, 2011, 8:17pm UTC](https://forum.highend3d.com/t/createmotiontrack-mel-script-help/47473/1 "2011-07-07T20:17:41Z")

</div>

Hey guys,

I'm having some trouble using this script to animate my tank tracks. Whenever I place the tracks with this script, the bottom portion of the track changes orientation 180 degrees in the Z axis. I have tried to figure out what has gone wrong and time and time again I encounter this problem. What is going on here and how can this be corrected?

If anyone knows a solution, please help.

Thanks!

![](https://forum.highend3d.com/system/screenshots/308372/original/Trackprob.jpg?1310070135)

---

<div class="post-metadata">

### Author: ![mcw0](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@mcw0](https://forum.highend3d.com/u/mcw0)
#### Post date: [July 8, 2011, 7:05pm UTC](https://forum.highend3d.com/t/createmotiontrack-mel-script-help/47473/2 "2011-07-08T19:05:45Z")

</div>

I've never used this script but from what you describe, it's probably an up vector issue.&nbsp; Build yourself a proxy surface that you can use the normal to align the up vector.

Good luck

---

<div class="post-metadata">

### Author: ![aceofaces](https://forum.highend3d.com/user_avatar/forum.highend3d.com/aceofaces/32/634_2.png) [@aceofaces](https://forum.highend3d.com/u/aceofaces)
#### Post date: [July 8, 2011, 10:31pm UTC](https://forum.highend3d.com/t/createmotiontrack-mel-script-help/47473/3 "2011-07-08T22:31:41Z")

</div>

How do I do this? ^

---

<div class="post-metadata">

### Author: ![mitchell-heil](https://forum.highend3d.com/user_avatar/forum.highend3d.com/mitchell-heil/32/55214_2.png) [@mitchell-heil](https://forum.highend3d.com/u/mitchell-heil)
#### Post date: [November 11, 2012, 12:07pm UTC](https://forum.highend3d.com/t/createmotiontrack-mel-script-help/47473/4 "2012-11-11T12:07:09Z")

</div>

I know this is an old post, but I was running into the same issues with this script. The way I resolved it was to make sure my curve had the pivot centered, and it was placed at world zero.&nbsp;
