Jump to content

RBD concave thin wall collisions not detected


neurostudio

Recommended Posts

hey guys i am having a little bit of an issue with this test.
 
i picked up this setup from another thread on this forum however in this particular scenario it doesn't seem to work as i am probably missing something.

basically the pieces getting activated and falling, do not collide with the inner shrunk body volume i created and - since i am a houdini newbie - i am struggling to figure this out :)
 
tried to change geometry representation to concave, tried to increase resolution of colliders, but nothing worked so far.
 
i'd be really grateful if anyone could suggest a possible solution.
 
here's HIP and assets in case you want to have a look.
 
thank you in advance.

ALTzdRVw.jpeg

Link to comment
Share on other sites

7 hours ago, bunker said:

You should use convex pieces with Bullet, the convex decomposition SOP can help with that.
convex pieces are slow and (very) buggy.

Hey Julien,

I am gonna give that a shot and report back. thank you :)

 

Edited by neurostudio
Link to comment
Share on other sites

10 hours ago, bunker said:

You should use convex pieces with Bullet, the convex decomposition SOP can help with that.
convex pieces are slow and (very) buggy.

Hey Julien, 

I have been implementing convex decomposition (probably the wrong way), and made a bit of a progress. 

Would you mind having a look at my file? Assets .abc is included.

https://www.dropbox.com/s/eaheclpww2w090l/FRACTURE.zip?dl=0

thank you :)

 

Link to comment
Share on other sites

I had a look at your HIP file, there was a few issues.
- the left side of the body didn't have a name attribute, same of the new faces from the PolyExtrude
- convex decomposition won't be consistent on animated geometry

a much better way is to create all your pieces on frame 1 and pointdeform them to transfer the animation.
for the activation, you can use a wrangle in DOPs and lookup your pointcloud directly.

girl_fracture_05_convex_decomposition2.hiplc

hope that makes sense.
 

Link to comment
Share on other sites

3 hours ago, bunker said:

I had a look at your HIP file, there was a few issues.
- the left side of the body didn't have a name attribute, same of the new faces from the PolyExtrude
- convex decomposition won't be consistent on animated geometry

a much better way is to create all your pieces on frame 1 and pointdeform them to transfer the animation.
for the activation, you can use a wrangle in DOPs and lookup your pointcloud directly.

girl_fracture_05_convex_decomposition2.hiplc

hope that makes sense.
 

Thank you so much :) Gonna dive in now and see if I learn something. Will let you know!

Link to comment
Share on other sites

1 hour ago, neurostudio said:

Thank you so much :) Gonna dive in now and see if I learn something. Will let you know!

i had a look at your setup and certain things definitely make sense, even for a newbie like me! thank you!

however, collisions are still not working and the pieces fall straight through the collision volume. trying to figure it out!

 

 

Annotation 2020-01-06 131753.jpg

Link to comment
Share on other sites

1 hour ago, bunker said:

not sure what the dark blue object is but it should also be a convex packed primitive object.

julien, i think i am getting there :)

now  i need to exclude the collider (which is now a packed object) from the activation pop wrangle, but i really can't think of how.

 

 

 

girl_fracture_07_convex_decomposition.hiplc

Edited by neurostudio
Link to comment
Share on other sites

2 hours ago, bunker said:

you can use the name attribute to filter out objects to activate in the pop wrangle:
eg: if your collider is named "collider"

if(s@name!="collider"){
// activate the other pieces

}

thanks julien!

now the collider is excluded, however the pieces collisions are not working properly. 

trying to figure this out :)

alession odforce_01.hiplc

Link to comment
Share on other sites

The blue collision object you are visualising... is that created using a static object dop? If so, are you visualising the "Collisions/RBD solver/Volume" tab rather than "Collisions/Bullet Data" tab??? I think you may not be seeing what the solver is seeing. 

  • Like 1
Link to comment
Share on other sites

10 hours ago, bunker said:

you should watch this, it's still relevant: https://www.sidefx.com/tutorials/h13-masterclass-bullet/

hey julien,

i kinda solved it... i got a little confused along the way, but tidied up things in the end :)

ended up getting rid of convex decompositions for both collider and rbd object.
used concave representation for both and reduced collision padding and split impulse threshold by a lot.
of course now it's super slow and the result isn't super stable, however it will work for what i need.

 

thanks guys for the help !
 

Link to comment
Share on other sites

Glad you got it working, and of course whatever gets the job done is great. However, I would encourage you to investigate using convex hulls for all collisions. You will see vast improvements in speed and stability. They can be a little trickier to set up, but the rewards more than worth it. 

Link to comment
Share on other sites

7 minutes ago, woodenduck said:

Glad you got it working, and of course whatever gets the job done is great. However, I would encourage you to investigate using convex hulls for all collisions. You will see vast improvements in speed and stability. They can be a little trickier to set up, but the rewards more than worth it. 

will do cause honestly the sim is a little jittery and not all collisions are perfect :)

maybe i'll try this method next time.

thanks!

 

 

Link to comment
Share on other sites

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...