Jump to content

Dynamic groups


sanchoflat

Recommended Posts

If I have understood it correctly, you can solve this in different ways.

1)Add point(particle system) at the center of each piece using foreach operator and add operator.

2)Group these points using the volume which you r importing using obj merge node.

3)Create some attrb say 'active' only on the points in the group with value 1.

4)So points not in the group will have active attrb with value 0 and those in the group will have active attrb value 1.

5)In dop group node access this value(active) using point expression to check if it is equal to 1. If the condition is satisfied then object with that id will be in the group.(similar to point expression in the previous post just type active instead of Cd)

6)Apply force only on this group or you can use this group in active value dop to activate the objects.

Edited by sorry
Link to comment
Share on other sites

If I have understood it correctly, you can solve this in different ways.

1)Add point(particle system) at the center of each piece using foreach operator and add operator.

2)Group these points using the volume which you r importing using obj merge node.

3)Create some attrb say 'active' only on the points in the group with value 1.

4)So points not in the group will have active attrb with value 0 and those in the group will have active attrb value 1.

5)In dop group node access this value(active) using point expression to check if it is equal to 1. If the condition is satisfied then object with that id will be in the group.(similar to point expression in the previous post just type active instead of Cd)

6)Apply force only on this group.

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