Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Dynamics / Using rigid bodies to drive pin art?
  RSS 2.0 ATOM  

Using rigid bodies to drive pin art?
Rate this thread
 
41068
 
Permlink of this thread  
avatar
  • Total Posts: 18
  • Joined: 25 September 2008 04:20 PM

Hi,

Can anyone suggest an efficient way of reproducing the Digital Domain effect used in the pin block on the Nine inch Nail vid ‘only’? I’m not talking about driving it with video footage but just being able to manipulate it with rigid bodies/fields/whatever colliding with the back of the pin block.

I have set up a rigid body solution, with the pins as active rigid bodies forced into an enclosed space (ie a passive rigid body with holes cut out for each pin) but it interpenetrates all over the place. When i attach individual contraints to each pin it takes for ever and is really unpredictable. Is there a way to constrain the pins so they can only move along one axis but still use rigid bodies to generate organic movement to that axis only- if that makes sense? Is it possible to rig it so you don’t have to use rigid body constraints but just normal (less unpredictable) ones?

any help would be v helpful!

bert



Attachment Attachment
Replies: 0
avatar
  • THNKR
  • Posted: 24 March 2010 03:06 AM

I’d probably still use the same technique you would use if you want to do a video. Render a depth map of the scene from the position of the board and use that to drive the position of each pin with an expression that uses colorAtPoint to find the color value at the UV that correspeonds to the relative position of the pin in the grid.

But, you can of course set up a pin to be constrained in one direction only simply by breaking the connections on two of the rotation axes.



Replies: 1
/img/forum/dark/default_avatar.png

Cool so it’s reading the colour value from the depth map and then moving the uv of the geometry… Sounds like a useful expression. Unfortunately i’m a little expression-phobic, to my detriment!

So in theory i can break all the connections apart from transform z, for example, in my rigid body, and then get only the z axis to be affected by the forces and fields? Brilliant, will give it a go!

Author: Bertjenkins

Replied: 24 March 2010 03:55 AM