Community
Maya Animation and Rigging
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya animation topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

changing motionpath values via attribute or expression?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
290 Views, 1 Reply

changing motionpath values via attribute or expression?

I have a cv curve with locators attached via motionPath - animation node has been removed so moving the timeline doesn't affect them

locator a @ 0.0 u value
locator b @ 0.1 u value
locator c @ 0.2 u value

I want to move all of the locators at once, based on another keyable attribute in something like a global controller - this attribute would be called "locatorPositions"

as you adjust the "locatorPositions" attribute, it should add it's value to the locators U values

so if "locatorPositions" was set to .5, locator a would be .5, locator b would be .6, and locator c would be .7 % along the curve

is this possible?

thanks

1 REPLY 1
Message 2 of 2
Calebos
in reply to: Anonymous

Hi,

 

 it is simple task. I have made sample scene with native Maya utility nodes. Check the nurbs curve in the scene. It has custom attribute locator_Position you can change. It is connected via addDoubleLinear node to uValue of each motion path.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report