View Single Post
# 1 11-03-2003 , 05:54 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198

createDynChain - MEL for creating semi-dynamic chains

Hello fellow MELlons :p

I started working on this mel script since I needed some long chains with many chain links on my Andrea Gail project. Regular dynamics were out of the question because they would have slowed down my work pretty badly.

The script has been coming along pretty nicely and I though I'd post it here for beta testing. Be aware that I've been working on this only for few days so it may contain some fundamental bugs user added image

Here are some results I've got with the script:

1. https://kotisivu.mtv3.fi/karppa/temp/dynChain3.avi (600kB, divx)
- The backmost chain is a direct result of the script.
- The chain in the middle has only one modification done to it: turned the last "control cube" from passive rigid body to active.
- The frontmost chain is like the backmost but the last control cube has been hand-animated.

2. https://kotisivu.mtv3.fi/karppa/temp/dynChain4.avi (586kB, divx)
- This is a classic child swing. I created two chains, turned their end control cubes into active rigid bodies and hinge constrained the poly cube to them. I encountered one problem with the script while doing this: The script creates a gravity field for each chain. This really isn't necessary and I'll propably change this in future releases.

Anyway, here's the script. Open it up in a text editor, the documentation is there. Please read it through before asking questions.

Comments, bugs, critique, suggestions, anything is more than welcome...

(Attachment removed. Newer version can be found here: https://www.simplymaya.com/download_p...id=29&type=mel)


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!

Last edited by kbrown; 03-06-2003 at 10:13 PM.