Jump to content
Milene M

Rigid Body _ initial Ground Collision

Recommended Posts

Hello !

I have a custom ground and I want my object to not move until I have a collision. 
I connect my ground with my object by a Glue constraint. But so far my object is still moving... Do you have an idea ? 

Here you can see my simulated object, my red drawing is where I would like my object to be.  
withSim.JPG.4f6f02ed6fa4b6bf9830776c2e87a2ff.JPG

ODForce_GroundCollision_001.hipnc

Share this post


Link to post
Share on other sites
4 hours ago, Milene M said:

Hello !

I have a custom ground and I want my object to not move until I have a collision. 
I connect my ground with my object by a Glue constraint. But so far my object is still moving... Do you have an idea ? 

Here you can see my simulated object, my red drawing is where I would like my object to be.  
 

Hello,

simplest way to achieve your goal is to set point attribute i@active = 0 on bottom boxes there as on the others set 1. And look some tutorials at sidefx.com about RBD simulation with bullet solver.

Share this post


Link to post
Share on other sites
1 hour ago, vicvvsh said:

Hello,

simplest way to achieve your goal is to set point attribute i@active = 0 on bottom boxes there as on the others set 1. And look some tutorials at sidefx.com about RBD simulation with bullet solver.

Thank you for your fast reply. Your solution works well. 
But in this case the bottom boxes would never be affected by the simulation. 

Is it possible to make the initial position a rest position defined previously by the node rest position ?  
 

Share this post


Link to post
Share on other sites
18 hours ago, Milene M said:

But in this case the bottom boxes would never be affected by the simulation.
 

You can make it active any time.

18 hours ago, Milene M said:

Is it possible to make the initial position a rest position defined previously by the node rest position ?  
 

As I've said earlier this is simplest way. In hip file rough example of a bit complicated approach. I don't know if it suits you but anyway...

ODForce_GroundCollision_001_01.hipnc

Share this post


Link to post
Share on other sites

It's working ! Thank you ! I didn't think to keep my pieces below the ground and to give them the attribut active 0. So now all my boxes visibles are active. 
Have a good day 
 

works.JPG

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

×