Jump to content

Delete constraint based on the position of the simulation.


Lucas van Rossum

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 year later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...