Milene M Posted April 25, 2019 Share Posted April 25, 2019 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. ODForce_GroundCollision_001.hipnc Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted April 25, 2019 Share Posted April 25, 2019 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. Quote Link to comment Share on other sites More sharing options...
Milene M Posted April 25, 2019 Author Share Posted April 25, 2019 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 ? Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted April 26, 2019 Share Posted April 26, 2019 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 Quote Link to comment Share on other sites More sharing options...
Milene M Posted April 26, 2019 Author Share Posted April 26, 2019 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.