SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

SM Forums / Maya Questions / Dynamics & Special Effects / Active rigid body disappearing

Dynamics & Special Effects Maya Particles, nDynamics, Fluids, Rigid Bodies & General VFX

Join the conversation. Reply to post
Thread Tools
09-08-2011, 03:15 PM   #1
Join Date: Jun 2011
Posts: 17
Active rigid body disappearing
I'm trying to make a very simple dynamic simulation with two objects. One is a passive rigid body that's animated to rotate 180 degrees every 2 seconds. The other is an active rigid body that slides down the edge of the first object, pulled by gravity, until it collides with the bottom of the passive body's geometry. See screenshots. After 2 seconds (60 frames), the passive rotates 180, carrying the active body with it, and then stops, at which point the active body slides down to the bottom again, pulled by gravity. This process repeats several times.

Problem: After 1, 2, sometimes 3 180-degree rotations of the passive body, the active body begins to misbehave in very strange ways. It doesn't always happen at the same time, either. The translate and rotate attributes become "-1.#IO". I'm thinking maybe the floating point math is getting out of hand and Maya is beginning to round the numbers, causing interpenetration? But in my very limited experience with maya/dynamics, if that were the case it should just interpenetrate and throw a warning, not obliterate the geometry, right? I have the Step Size and Collision Tolerance set to .001 for the solver. Maybe it's a frame rate issue? I have it set at 30fps, play every frame. The project is attached, and screen shots are below for quick reference. Any ideas are more than welcome. Thanks!

Attached Files
File Type: zip (14.4 KB, 106 views)
  Reply with quote
19-10-2011, 12:45 PM   #2
Lifetime Member
puneet.3d's Avatar
Join Date: Aug 2008
Posts: 78
see. whenever you work with rigid bodies always remember they should not interpolate with each other before the simulation takes place. In your case, you just have to keep the pCube2 little separate from pCube1. make sure none of the faces of pCube2 is inserting in pCube1.
good luck.
  Reply with quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating active rigid body jarwulf Maya Basics & Newbie Lounge 0 20-07-2016 09:34 PM
Rigid body disappearing Turboyac Dynamics & Special Effects 2 20-07-2014 09:38 PM
I have a problem whith animate of active rigid body taheri_mdm Dynamics & Special Effects 1 03-08-2008 11:17 PM
Please help with Goal_PP Joselu I.B. Dynamics & Special Effects 6 24-04-2003 12:06 AM
Random initial spin to active rigid body. grunze Maya Basics & Newbie Lounge 3 03-02-2003 11:16 PM