How to do Kangaroo Mesh Collision?

Hi there,

I know this topic has been explored in previous posts (including one of mine)
However I can’t seem to find a solution that works for me.

(similar to my previous post) I have a facade made of planar cells that I want to be tight to a building massing.

Attached is my script where that is almost there, the thing that I’m missing is some kind of collision detection to ensure that none of the faces can pass through the massing. I am using guide rails to ensure that none of the vertices go into the massing, but theres no collision with edges.

I thought about subdivding my mesh to have more resultion for the guide rails, but it was getting messy/ugly and does not guarantee sucess…

I was wondering if there someone could suggest a more elegant solution?

Kind regards,
Nick

240819_Kangaroo_Rigid_Body_Test.gh (175.3 KB)


I’ve been trying to use RigidBodyCollide, but it’s been making my script super heavy to the point where it even crashes… probably not using it correctly.
Having a look at other peoples scripts hasn’t been especially useful yet either…

1 Like

Thank you for sharing this! I didn’t know there was an updated source of Kangaroo examples files.
I’ve had quick look through these and am still struggling to find a solution that works for me.
The Chain Collision examples seemed pretty promising, but Kangaroo just breaks when I try to add the massings edges…

240821_Kangaroo_Rigid_Body_Test.gh (185.7 KB)