PDA

View Full Version : Animating a chain?


ayman
09-10-2002, 01:31 AM
Hi all,

How do you animate chains hanging from an object? Is there a way to apply dynamics to a chain of bones so that it would not be hand animated but simulated by computer?

Thanks

Jozvex
09-10-2002, 02:30 AM
Hi, instead of using bones, just make all the chain links and then apply rigid body dynamics to them.

It works!

dmcgrath
09-10-2002, 08:27 PM
Wont that cause distortion on the chain parts geometry.

I think the better way would be to Make a splineIK and then apply the dynamics to the control points on the IK curve. Its easier than it sounds, but it will still take some practice.

jschleifer
09-10-2002, 08:59 PM
I've had great results using MayaCloth and then attaching the chain geometry to the cloth using button constraints.. or if the cloth stretches too much, use the cloth, then use splineIk, deform the spline with the cloth (wrap deformer), and parent the chain links to the joints.

Jozvex
09-11-2002, 01:18 AM
Originally posted by dmcgrath
Wont that cause distortion on the chain parts geometry?

I can't see why it would, rigidbodies are rigid, they don't deform.

Here's a link to a zip file containing a Maya 4 scene of a chain made with dynamics.

http://www.geocities.com/jozvex/files/chain.zip

Right click on it and choose "Save Target As"

Open it up, press play and you'll see that it works really well.

:)

dmcgrath
09-11-2002, 04:35 AM
the link is used up for the hour, yahoo, i guess. but you're right, *smacks forehead*RIGID body dynamics. I feel a little stoopid.
:drool:

i would like to see the link when it works again. is it an animation?

Jozvex
09-11-2002, 04:54 AM
Used up??

I can still save from it, though it's been a while since you tried.

It's just an animation with the chain swinging around because of gravity.

Try saving it again, don't actually go to the site.

dmcgrath
09-12-2002, 02:03 AM
Yeah, I did try the save target as, but it wouldnt let me then, but it worked this time. I think that yahoo limits the amount of access time on the website per page, per hour or something like that. But I got the .mb now, really nice work. Cool to see how it works.

Nice job man. :thumbsup:

-dan

Jozvex
09-12-2002, 04:35 AM
Ah cool you got it,

The only tricks are:

1.You have to make sure no links are intersecting.

2.You need to turn up the accuracy settings in the rigid solver, because the links are so small.

Lowering the first two values in the rigid solver increase the accuracy.

CGTalk Moderation
01-13-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.