ScriptSpot

Script

Chain Rigger

By Mayec · Credited author: Mayec Rancel · 2010-05-01

Version
1.2
Version requirement
tested in 3ds max 2010 x64
Date updated
2010-09-30
Votes
29
Download
Download
Description

Chain Rigger

============

created by Mayec Rancel

Chain Rigger

This tool creates a simulation rig for a chain (free or constrained) with a few simple steps. The rig is an optimized one, very stable and fast to simulate, based on a reactor rope.

Additional Info

- Due to the optimized natures of the rig, it is more suited for certain types of chains (eg, the ball-joint chain in the example scene). For other types (like the usual ring-linked chain), if the rings are loose, the simulation may not have the needed freedom between links. In such cases, a brute-force all-rigid-bodies solution may be needed for a more realistic (although much slower and potentially unstable) simulation. - By default, the rigged chain will not collide with the constraining objects. But since it is using reactor, you can add any rigid bodies, constraints or any other entities to your simulation. - This tool can rig a chain that has been modeled/placed in a specific position, or it can rig it in a neutral straight shape, and then bring it to a natural position with a simulation runup (and tricks like colliding objects to shape it, if you need a specific shape). VERSION HISTORY =============== Chain Rigger v.1.0 ================== Chain Rigger v.1.1 ================== - Bug Fixes: "place Chain End" errors the first time script is used in a session. - Features: when using "place Chain End", end locator will automatically be selected and in move mode for easier placement. Chain Rigger v.1.2 ================== - Bug Fixes: "Type error: Call needs function or class, got: undefined" when running the script for the first time in a fresh 3ds max.
Videos

Tags: Animation, fx, reactor, simulation, constraint, chain, dynamics, rope, optimized

Comments (10)

Max 2012 not working

Dariusz · 2012-03-22

Heya

So it wont work on massFX from max 2012 as I get this error
addModifier chainSpline (reactor_Rope())

Right?

Re: Max 2012 not working

Mayec · 2012-03-22

Hi Dariusz, and thanks for bringing this up. I haven't been able to test Chain Rigger in 3ds max 2012, but logic says that it probably won't work, for the following reason: The setup created by this script relies on Reactor ropes, and from what I heard, in 2012 the Reactor dynamics system (which used the Havok solver) has been replaced by MassFX (which uses the PhysX solver).

Thanks!

Augusto Lombardi · 2012-03-22

Hi Mayec!
your tool rocks!

Max 2012

Dariusz · 2012-03-22

Heya

Does it work with max 2012?

Thanks!

makco · 2010-10-22

Very useful script, it saved me hours of manual work!

Mayec · 2010-10-22

Very happy to hear that, makco! :)

jinj · 2010-10-05

hi,
thanks for sharing this useful script.
what about a max version of the "autumn Leaves" script.
;)

Mayec · 2010-10-05

Hi jinj.

Interesting idea. But since there is no nCloth in max, I would have to create a completely different solution from scratch (with max's cloth, I guess, without much previous thought). I'll write that down on my list, and if it looks like enough people could have a use for it, I'll have a go at it.

Thanks for the idea!

simCloth plugin

Mayec · 2010-10-12

Thanks for the link, jinj. It looks very interesting, and it's open source! I will try to take a through look at it as soon as I have some time.