Jump to content

RBD intersections


MaximTF

Recommended Posts

Hi there.

I have another question.

For example i have some intersecting spheres. I need to push them away to delete intersections (but not far, spheres must keep their positions approx.), and then attract them back. I think the best way is to use RBD. And i know how attract them to point.

But i can not get how to push them a little bit?  

2018-07-06_20-50-50.png

Link to comment
Share on other sites

set the point attribute i@found_overlap=1 on your packed RBDs before the simulation and they will resolve overlaps at the beginning of the simulation. you can then apply other forces if necessary to push them back together.

  • Like 3
Link to comment
Share on other sites

Ok, i found another simple way that gives me a acceptable result.

1. I have many intersecting clones on a spherical surface.

2. First of all i use toadstorms advice  to pushing clones away. i@found_overlap=1 works well.

3. Than i use constraint network with spring constraints to attract them back. It gives me nice and smooth surface with my clones.

Early i tried to use force that attracts all clones to the one point and it makes a hump in center of my geometry.

 

 

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