Adverti horiz upsell

Create dynamic chain from curve 2.0.4 for Maya (maya script)

Generate chains from selected curves, ready for animation and very fast (but realistic) dynamic simulation.

License
Button download
11,335 Downloads

Compatibility

  • 2014, 2013, 2012, 2011

Operating Systems

  • Irix
  • Linux
  • Mac
  • Solaris
  • Windows

History

Created:09/22/2011
Last Modified:06/01/2013
File Size: 19.4 KB

Q/A

How to make the chain as an active rigid body, and make it stretch?

Date:04/22/2013
Submitted by: bryant209 bryant209
Hello Valerio,

The script is wonderful, it really help me a lots on my work. Thanks very much.

There are two questions on dragging chain and rigid body. It's an example, a prisoner locked by a chain and ball shackle. The start chain might be constrained on prisoner's leg, the end chain might be constrained on the heavy ball (or opposite). How to make the chain totally stretch and tight when the leg is dragging the chain and ball. I tried to make the chain as stretch as possible by adjusting IK controls, but it is not convenience if there are many IK controls. Are there other ways to deal with it?

Another question is that how to make the chain as an active rigid body interacting with floor, a passive rigid body. It is like that when the stretch and tight chain realesed, it is gonna interacting with the floor as a rigid body.

Bryant 

Replies to this question:

  • Valerio Di Napoli

    Valerio Di Napoli said over 11 years ago:

    Hello Bryant, the chain rig works with Nucleus solver for dynamics (by turning on the attribute "is dynamic"), so you don't have to create passive rigid bodies, but nRigids. Assuming that you are familiar with Nucleus, all you have to know is that the real dynamic object is the proxy version of the chain (that you can show by switching the attribute "Geometry version" to "Proxy"): treat it like a normal nCloth object. My suggestion is to use the built-in constraint for the leg and to make the chain collide with the iron ball. If the chain stretches, increase the "stretch resistence" of the proxy chain, and "substeps" and "max collision iterations" of the "chain_nucleus" node. After that, all you have to do is tweaking the dynamics. I've prepared a sample scene for you, download it here: https://goo.gl/9xX7B Don't forget to consider a donation if you liked my script. Cheers

Post a reply: