Lucas van Rossum Posted November 1, 2014 Share Posted November 1, 2014 Hi I try to remove the constraint with a sop solver plugged into a constraintnetwork node to have the updated states of the simulation. The constraint network fall throught the bounding box but is not deleted... Here is my hip file: Help.hip Quote Link to comment Share on other sites More sharing options...
wateryfield Posted November 2, 2014 Share Posted November 2, 2014 Hi I try to remove the constraint with a sop solver plugged into a constraintnetwork node to have the updated states of the simulation. The constraint network fall throught the bounding box but is not deleted... Here is my hip file: It works well for me. The bottom of constraint has be deleted. Quote Link to comment Share on other sites More sharing options...
Lucas van Rossum Posted November 2, 2014 Author Share Posted November 2, 2014 Sorry for my poor english, I was not very clear... You are right the bottom of the constraint has be deleted. But i try to delete constraints pieces that fall on ground (they enter in the delete node bounding box that is in the sop solver) Regards lucas Quote Link to comment Share on other sites More sharing options...
wateryfield Posted November 2, 2014 Share Posted November 2, 2014 Sorry for my poor english, I was not very clear... You are right the bottom of the constraint has be deleted. But i try to delete constraints pieces that fall on ground (they enter in the delete node bounding box that is in the sop solver) Regards lucas Oh, my English was bad too. I think i get what you mean. Actually in the sop solver you can see the constraints network was stay still,it not follow the rbd object, so it was just delete the bottom constraints and although the rbd object fall on ground, its constraints was still the first frame postion, so it can't be deleted. To do it ,add a another delete. Hope it may help. Help_2.hip Quote Link to comment Share on other sites More sharing options...
Lucas van Rossum Posted November 2, 2014 Author Share Posted November 2, 2014 Thank you. I find it's dificult to debug the sop solver in this situation. I have no feedback when i dive in to the SOP solver. You are right, in my exemple it's easy to have multiples delete nodes. But in my actual project this is not an option. Do you know any solution to import the updated position of the constraint network in the sop solver ? Regards Quote Link to comment Share on other sites More sharing options...
rayman Posted November 3, 2014 Share Posted November 3, 2014 int parIx = findattribval(1,"point","name",s@name,0); matrix tr = primintrinsic(1,"packedfulltransform",parIx); v@P *= tr; don`t forget to hook packed pieces in second wrangle input 2 Quote Link to comment Share on other sites More sharing options...
Lucas van Rossum Posted November 3, 2014 Author Share Posted November 3, 2014 Thank you rayman, it's work perfectly. This code will be usefull for lots of other things! lucas Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted October 3, 2016 Share Posted October 3, 2016 On 11/4/2014 at 4:05 AM, Lucas van Rossum said: Thank you rayman, it's work perfectly. This code will be usefull for lots of other things! lucas how were you able to use that code by rayman? can you please share the hip? Quote Link to comment Share on other sites More sharing options...
Lucas van Rossum Posted October 6, 2016 Author Share Posted October 6, 2016 Hi navneet sorry for the delay. Here is an example... Exemple.hip Quote Link to comment Share on other sites More sharing options...
Navneet Arora Posted October 7, 2016 Share Posted October 7, 2016 10 hours ago, Lucas van Rossum said: Hi navneet sorry for the delay. Here is an example... Exemple.hip Does this work if we have a static deforming object and then we are breaking the constraints? 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.