Jump to content
Sign in to follow this  
HopperAE

RBD Spheres fall through box

Recommended Posts

Hey people of the internet,

 

I feel like I'm being really dumb and I cant work this out. I haven't had much experience with RBD solvers because I usually use C4D for these sort of simple setups. 

Basically I have a load of spheres inside a box and I want the box to contain them. Unfortunately, the spheres just pass through. 

I have fiddled with it and can get it to work. If it's set to bullet it sticks some of the spheres and the rest pass through. 

I have attached a screenshot of my set up.

Screenshot 2020-01-08 at 12.54.42.png

Screenshot 2020-01-08 at 12.54.29.png

Screenshot 2020-01-08 at 12.54.04.png

Share this post


Link to post
Share on other sites
Posted (edited)

Hello Andrew,

to have your box contain the spheres I'd recommend to use a proxy volume inside your static object.
 

While this tutorial might be for Pyro, the same should apply to RBD and FLIP aswell.

EDIT: If you are using Bullet this approach won't work. In that case you can use a Facet SOP with "Unique Points" turned on and a PolyExtrude SOP after that, in your static object you then tick "Create Convex Hull per Set of Connected Primitives".

Edited by dleonhardt

Share this post


Link to post
Share on other sites

Hey,

Unfortunately it's not working... 

I have attached the scene file. 

It should be working so I don't know why it isn't. 

 

THanks 

Andy 

 

spheres.in.box.hipnc

Share this post


Link to post
Share on other sites

Hey Andrew,

I took a quick look at your file. Because you are using Bullet, you need to approach concave collision shapes differently by splitting into multiple convex shapes. And another thing is that your spheres didn't have any names, so Bullet treats all your spheres as single object. I marked all of the nodes I created in red. 

If you have any other questions, don't hesitate to ask.

spheres.in.box_dleonhardt.hipnc

Share this post


Link to post
Share on other sites

Amazing thankyou for this! 

I thought no I'm slowly starting to understand the s beast of a program!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×