Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Dynamics & Special Effects (https://simplymaya.com/forum/forumdisplay.php?f=33)
-   -   Active rigid body disappearing (https://simplymaya.com/forum/showthread.php?t=36128)

danielames 09-08-2011 03:15 PM

Active rigid body disappearing
 
1 Attachment(s)
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!

https://lh6.googleusercontent.com/-5...00/frame_1.png

https://lh3.googleusercontent.com/-C...0/frame_20.png

https://lh4.googleusercontent.com/-G...0/frame_62.png

https://lh5.googleusercontent.com/-e...0/frame_63.png

puneet.3d 19-10-2011 12:45 PM

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. :)


All times are GMT. The time now is 09:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018