Kangaroo

THIS FORUM IS NO LONGER ACTIVE. PLEASE POST ANY NEW QUESTIONS OR DISCUSSION ON:

https://discourse.mcneel.com/c/grasshopper/kangaroo

The discussions here are preserved for reference, but new questions posted here are likely to go unanswered.

Kangaroo is a Live Physics engine for interactive simulation, optimization and form-finding directly within Grasshopper.

falling chain of rigid links

 

Hello!
I based on examples and created a small piece of the falling chain.
I encountered such a problem:
There is a chain consisting of four rigid links that fall on a rigid plane.
The second and third link, for some reason, suddenly merge. And this should not be, they must be repulsed.
I will be glad to any help and advice.
Thank you in advance!

  • up

    Daniel Piker

    Hi,

    I managed to improve the performance of the definition a little.

    You don't need to input all the vertices of the mesh into the rigid body component unless you are using them for something else - so removing these speeds things up a bit.

    Also shown is a simpler way of setting the collisions using the cross-reference component.

    I tweaked the weightings a bit to try and improve the collision handling, but it is still a bit twitchy.

    Collisions between complex concave geometry like this is tricky.

    An alternative approach I think might work better here is to make use of the pipe-like geometry and use the line-line collisions instead. I'll make an example of this...

    • up

      Daniel Piker

      Okay, here it is with just collision between line segments. It does seem to work much better than treating them as meshes.

      1