phys.bodies inside other phys.bodies, falling through

Jun 19, 2013 at 12:59am

phys.bodies inside other phys.bodies, falling through

a student of mine wants to use the jit.phys objects to place several small balls inside a hollow, transparent sphere. The small balls should roll around inside. At the moment we have a problem whereby they occasionally fall through the sphere. We are trying to understand exactly why this is happening. It doesn’t seem to be related to the dimensions of the outer sphere mesh. Are there any phys settings we can tweak in order to make the large sphere totally non-porous?

thanks,

oli

<code>

– Pasted Max Patch, click to expand. –

</code>

#253217
Jun 19, 2013 at 1:37am

Hi
I’m no jitter ninja, but have you set the appropriate @kinematic flag? I had similar issues recently and was advised to do this. I seem to remember using @kinematic 0 for the bodies.

HTH
Brendan

#253222
Jun 19, 2013 at 7:52am

Just noticed name of OP. Apologies for stating the obvious oli ;-)

#253270
Jun 19, 2013 at 12:15pm

i’m assuming this is related to this thread?
if not, just check my answer there:

http://cycling74.com/forums/topic/concave-phys-bodies-containing-small-phys-objects-why-do-they-fall-through/

#253342

You must be logged in to reply to this topic.