How do I use one expression to control multiple objects?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm looking for guidance to do something I somehow thought would be easy.
I'm modeling a piece of machinery, one of those loading deck conveyors made of rollers. Mine is semi-circular. So I created a pipe object, duplicated it 80 times with a Y rotation offset, and now have my conveyor bed. What I want is to have each roller roll. I selected one of the rollers and created a Z rotation expression, time*100, and that works fine. But I can't figure out -- short of recreating the expression 79 more times -- how to get the other rollers to move in unison around their own horizontal axes. I'd give in and copy the expression if I thought I could then modify it down the line as the model gets closer to completion. What I want is one controller with an attribute that tells all the rollers to roll and at what speed. (I'm pretty new to Maya and if this involves a script, be gentle.)
Thanks for any advice.