I modeled this cord straight and I want to wrap it around the cylinder object in the background but after some searching I can't seem to find out how to go about doing this.
1.First off, select or create an edgeloop in your large cylindrical object and go to Modify>Conver>Polygon Edges to Curve
2. Select the cord object and the curve you made and in the animation menu set go to Animate>Motion Paths>Attach to Motion path
3. Then with the cord still selected, go to Animate>Motion Paths>Flow Path Object and in the options, the number of Divisions:front will determine how smoothly the objects wraps around.
Apply it and the object should wrap around the curve.
4. Moving the marker in the timeline should make the object move along the curve. Select the object (not the lattice) and duplicate it, then move the timeline along, dropping duplicates where you want (you could start with a long cord that matches the divisions of your cylinder).
5. To get fine control of the placement of the objects, use the 'Set the current time' field on the timeline. You can type whole frame values or fractional to help with fine placement.
For this object I wouldn't bother using a motion path. A bend deformer will do the job in a cleaner way. Go to the animate menu, then do Create Deformers > Nonlinear > Bend.
In the bend curvature field, enter 3.142 (this field is in radians, not degrees, so you need to enter the value of Pi for a full circle). You'll probably need to rotate the bend deformer to get it to bend your object in the right direction. When you're happy with it, delete history and merge the verts from the two border edges.
I remember a thread about that twist before and there was a way to make it stop... I thought mops script fixes that... but I can't be sure... In Max its incredibly easy thing to do but in Maya it was a bit more complex. Good luck!
Ahh well that sucks... I remember there was a fix, I just don't remember where it was. It must of come up in a thread similar to MoPs thread or about the same time.
Thanks Lamont that seemed to have worked, and Mark that script while not helping the fix was a awesome find im going to be putting that script to good use soon.
Replies
2. Select the cord object and the curve you made and in the animation menu set go to Animate>Motion Paths>Attach to Motion path
3. Then with the cord still selected, go to Animate>Motion Paths>Flow Path Object and in the options, the number of Divisions:front will determine how smoothly the objects wraps around.
Apply it and the object should wrap around the curve.
4. Moving the marker in the timeline should make the object move along the curve. Select the object (not the lattice) and duplicate it, then move the timeline along, dropping duplicates where you want (you could start with a long cord that matches the divisions of your cylinder).
5. To get fine control of the placement of the objects, use the 'Set the current time' field on the timeline. You can type whole frame values or fractional to help with fine placement.
In the bend curvature field, enter 3.142 (this field is in radians, not degrees, so you need to enter the value of Pi for a full circle). You'll probably need to rotate the bend deformer to get it to bend your object in the right direction. When you're happy with it, delete history and merge the verts from the two border edges.
http://www.ldaustinart.com/paul/index.php?cat=scripts&type=maya
I remember a thread about that twist before and there was a way to make it stop... I thought mops script fixes that... but I can't be sure... In Max its incredibly easy thing to do but in Maya it was a bit more complex. Good luck!
@ Mark : no, it's just a nice interface that replaces the paint effects one. The problem is still there.
Select the curve then Attributes>MotionPath>MotionPath Attributes>World Up Type. Change to like Vector.
Maybe. Give it a shot.