Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   rigid body dynamics question (https://simplymaya.com/forum/showthread.php?t=33928)

chilledoutredhead 27-03-2010 02:14 AM

rigid body dynamics question
 
hey guys a quick question. i have a snooker tabe, which i created from polygon cube, then extruded in the edges and extruded down to create the middle playing surface. my problem is when i create a passive body on the snooker tabel and the balls active bodies, they pass through the middle playing surface but not the actual bottom of the table?? i dont know why this is happening does any of you guys know??

G-Man 27-03-2010 04:29 AM

check your normals, rigid body simulations are calculated based on normal direction, you're normals will need to be pointing out of the surface in the direction you want the collision to take place.

I.E. if you have a sphere that will bounce off of a plane, it will only bounce off of it on the side of the face that the normal is pointing out of. else, it will pass through it.
that would be my first guess

the other possibility is that the collision layers are different.
your active bodies might be on layer 1, and your passive bodies on layer 2, this would cause them not to collide at all, though they woudl pass through the table completely not in the way you describe.

another thing, did you delete all history before you set the dynamics up? maya hates history on dynamic simulations.

G-man

chilledoutredhead 27-03-2010 02:41 PM

thanks g-man i never thought of the normals i shall give it a go, and make sure histroy etc is deleted :)

G-Man 27-03-2010 07:53 PM

No problem mate, if it doesnt work let me know. i might see if you can upload your scene file and i'll take a look at it for you.

g-man


All times are GMT. The time now is 10:53 PM.

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