PDA

View Full Version : dynamics problem


animationking
10-16-2002, 05:05 AM
ok..i have this problem very often in dynamics...lets say i created polysphere and applied gravity to it....i put a poly plane under it and made it a passive rigid body...i would think thats all you need to do to make the ball bounce, but SOMETIMES the ball freezes instead of boncing and i get an error messege: "Warning: Rigid Body interpenetration occured between 'rigidBody1' and 'rigidBody2'." I cant understand why this happens...anybody know?

MosaFacku
10-16-2002, 09:04 AM
bump up the geometry in the plane. make it so that if the plane looked like a fence in wireframe, the sphere wouldn't be able to pass through any of the individual squares. that should do the trick

anthonymcgrath
10-16-2002, 01:54 PM
thing you need to change yer alias if yer having probs with this one!! :-p

increasing the subdivision on the polyplane should def do the trick!

animationking
10-16-2002, 10:03 PM
Thanx guys, but im still having some problems:

first of all...how do i change my alias? And also i changed the number of subdivisions on the plane but it still does it...ok this is what i did...

As you can see there are more subdivisions on the vertical plane then the horizontal...the ball bounced off the first fine,, but then got stuck inside the second...There are more subdivisions in the second tho!! im still very confused.

MosaFacku
10-16-2002, 10:45 PM
lol. i think he was refering to your cgtalk alias "animationking"......


ok, i recreated your scene with absolutely no problems, so either, u might wanna start fresh, or here's somethin you might not have tried:

if you made any geometry changes with the smiley face, you need to make it a rigid body again:
select your lil smiley face, and go to edit, delete by type, and select rigid body, then make the smiley a rigid body again.

now, if that doesn't work, then in the channel box, for each of your rigid bodies, there should be a channel that says, collision layer, and by default it is at 0. turn all of these to -1.

thats it for now. keep us posted.

animationking
10-16-2002, 11:03 PM
lol...i feel stupid now

well mosafacku, i tryed everything u said, but it still does it. I also tryed it with a normal sphere and that worked fine. so i guess it my smilyface. Does it matter if i group the face and eyes together and applied the gravity to the group? maybe thats it...

MosaFacku
10-17-2002, 03:19 AM
alright...what exactly is rigidbody1 and 2? i made a nice lil smiley face, and 2 lil eyes. then, i made 2 planes, like u, and set it up, and got a nice bouncing smiley. lemme give u a rundown of what i did:

model the smiley head.
make 2 eyes
make the head a parent of the eyes.
create the planes.
make the planes passive rigid bodies
make the head an active rigid body
apply a gravity field to the head


KABOOM!!!

now you should have bouncy headed goodness. :bounce:
well, at least i do. lemme know if anything changes. if u wanna look at my scene file, lemme know

animationking
10-17-2002, 03:42 AM
yes..please let me see your scene file cause that is almost exactly what i did except i didnt parent the head to the eyes.

Thank you for all your help...i really appreciate it

animationking
10-17-2002, 03:44 AM
oh..and rigidbody 1 is the smily and 2 is the vertical plane

MosaFacku
10-17-2002, 03:45 AM
about to send......

Gentle Fury
10-17-2002, 04:01 AM
i dont remember the exact name for it, but in the rigid body attributes you can have it use a bounding box (actually i think its called bounding box.....lol) set it to sphere and it wont rely on the geometry of the object to react, it will bounce as if it were a sphere using a bounding proxy. This will also speed up the solve.


Happy Rendering!

animationking
10-17-2002, 04:02 AM
you kno what? i think ive found the problem..i remembered that i started modeling my smily with nurbs and then i converted it to a polygon. I just tryed that out with a normal sphere and it has the same problem...im still pretty confused tho..hehe

animationking
10-17-2002, 04:07 AM
oh wow! i just tryed setting it to sphere and it worked! it actually bounces! THANX!

but hmm...that solves it for this case, but what if it wasnt a sphere? what would you do? i guess somehow the problem was caused by the conversion

Gentle Fury
10-17-2002, 04:11 AM
thats what im here for.....lol ;)

CGTalk Moderation
01-13-2006, 06:00 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.