PDA

View Full Version : rigid bodies in maya


bingote
10-31-2006, 09:53 PM
Hello, this is my first post her ein cgtalk, hope i can get some help and see if i can help others too.

I'm working on this "dominoes effect" were one cube moves the next one, and that one the next one and so on. Ok, everything is working fine, but, after the cubes are down they keep doing this small movement instead of just stopping. I want to know if anyone knows a way to stop simulation on individual geometries when they begin to have this little bit of movement.

AikoWorld
11-07-2006, 11:03 PM
It seems your graph editor needs work!!!

Look into it and check your keyframes and what tangents you got on it.

ankheilw
11-08-2006, 04:05 AM
Hey Bingote,

This generally happens when using Runge Kutta or Midpoint for you simulation. Make sure that you are using Runge Kutta Adaptive under your Solver settings.

There are also a couploe of tricks that you can use to get around this.


1.) Once the domino settles into a place where you want it to stay, set a passive key (Under the Soft / Rigid Bodies menu). This will switch off the objects use of forces in the world, it will no longer be dynamic.

2.) Bake down your curves and clip out the small movements at the end. Once you've baked your curves and deleted history, this is super-fast and will give you the most control. I usually do this will all of my dynamic animations, unless you are running some serious processing power that allows you to tweak things forever in realtime:)

3.) Turn down the inherit properties of your dominoes so that they don't keep movement from their previous state. This is a really cumbersome way to go about it since you have to up your forces expnentially to compensate at times. I thought I'd throw that out there if you want to keep themin the dynamic range.

I hope that helps.

Take care and good luck!

bingote
11-08-2006, 02:22 PM
thank you ankheilw, before getting your answer i did your second option, i baked my simulation and removed the keyframes after the domino was in a nice resting position (of course, after everything was working fine). Anyways, i would have loved to have that first option before "set a passive key (Under the Soft / Rigid Bodies menu)" but is good to have that in mind for my next rigid bodies project!

here is a playblast of how it ended up, everything is rigidbodies baked and only the "rest" keyframes were removed
http://www.bingostudio.com/media/Comp1.mpg

thank you very much!

CGTalk Moderation
11-08-2006, 02:22 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.