SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Attach To Motion Path: random speed fluctuations?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 28-12-2005, 04:08 PM   #1
Steve555
Subscriber
 
Join Date: Oct 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default Attach To Motion Path: random speed fluctuations?

I created a curve on the surface of a NURBS sphere, then attached a locator to it using Animate->Motion Paths->Attach To Motion Path. When I play the animation, it correctly follows the path from the beginning to end of the duration over 200 frames that I set, but it speeds-up and slows-down during the journey, apparently randomly. It does it on playblast and batch render too, so it's not a performance issue.

It seems to happen by different amounts each time I try a new curve.
Is there anything that could cause this to happen, and is there a workaround?

Thanks
Steve555 is offline   Reply With Quote
Old 28-12-2005, 04:57 PM   #2
kablink
Subscriber
 
kablink's Avatar
 
Join Date: Jun 2005
Location: Sweden
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check that Parametric Length is unchecked in Attach to motion path options.

kablink is offline   Reply With Quote
Old 28-12-2005, 05:54 PM   #3
Steve555
Subscriber
 
Join Date: Oct 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, but that's not the problem here.
After trying various curves, it seems something to do with the curve crossing isoparms and amount of curvature. It's easy to recreate with a quick doodle on a basic nurbs sphere. Weird.
Steve555 is offline   Reply With Quote
Old 28-12-2005, 06:11 PM   #4
Steve555
Subscriber
 
Join Date: Oct 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

... and it's worse when the curve goes near either of the poles.
Steve555 is offline   Reply With Quote
Old 28-12-2005, 07:37 PM   #5
vladimirjp
Subscriber
 
vladimirjp's Avatar
 
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
Thanks: 0
Thanked 4 Times in 3 Posts
Default

this is because of the spacing between the CVs of your curves. u can try and see this by ineractively moving a CV while the animation is stiooped at mid point
__________________
Image dump
vladimirjp is offline   Reply With Quote
Old 30-12-2005, 01:52 PM   #6
Steve555
Subscriber
 
Join Date: Oct 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the suggestion, but that's not it. In the screenshot there are 13 equally spaced CVs along a motion path, for an animation 100 frames long.
Anything attached to this path covers a distance across the first 10 CVs in the first 30 frames, and then slows right down and takes 70 frames to travel the last 3 points.
It's definitely some kind of bug related to being close to the poles.
Attached Thumbnails
Click image for larger version

Name:	motionpathbug.jpg
Views:	663
Size:	39.6 KB
ID:	25915  
Steve555 is offline   Reply With Quote
Old 30-12-2005, 02:52 PM   #7
vladimirjp
Subscriber
 
vladimirjp's Avatar
 
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
Thanks: 0
Thanked 4 Times in 3 Posts
Default

no its not.

its the spacing and position and tengency to the next CV.

its really just like the graph editor.

adjust the tengency to adjust the speed.
__________________
Image dump
vladimirjp is offline   Reply With Quote
Old 30-12-2005, 03:41 PM   #8
Steve555
Subscriber
 
Join Date: Oct 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

On the new screenshot you can see the identical curve placed in two different locations on the sphere. The copy on the side of the sphere does not exhibit the strange behaviour of the original one, i.e. its motion path speed is consistent across the whole length.
The *only* thing different about these two motion paths is their position on the sphere. Spacing, position and tangency are the same. It seems unreasonable that they should behave completely differently.

From Maya online help: "When you first assign an object to a motion path, by default, the object travels along the path at a constant speed."
Attached Thumbnails
Click image for larger version

Name:	motionpathbug2.jpg
Views:	661
Size:	51.9 KB
ID:	25921  
Steve555 is offline   Reply With Quote
Old 30-12-2005, 06:46 PM   #9
vladimirjp
Subscriber
 
vladimirjp's Avatar
 
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
Thanks: 0
Thanked 4 Times in 3 Posts
Default



well, in this case thats your problem.

the curve is on a surface.

so the speed is relative to the UV of the nurbs sphere not the curve itself.
if u want to motion path on a curve that is projected on a surface, i suggest u duplicate the curve once its projected the uniformly rebuild the curve.

otherwise the speed will always fluctuate as the object travels along the curve, which is sitting on a surface;
__________________
Image dump

Last edited by vladimirjp : 30-12-2005 at 06:52 PM.
vladimirjp is offline   Reply With Quote
Old 30-12-2005, 07:01 PM   #10
Steve555
Subscriber
 
Join Date: Oct 2005
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, duplicating it as a standalone curve fixed it, even without rebuilding it.
Shame the manual doesn't mention this glaring caveat.
Steve555 is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.