Jump to content

Rearranging Primitive for each blocks to original position


nimish

Recommended Posts

I am trying to rearrange all the primitive blocks using for loop but couldn't find a solution. I want to revert all the pieces back to their original place from the centroid. I used 2 transform nodes in the for each node to bring all the pieces to the origin. Now, I want to bring all the pieces back to their original position aka the first screenshot.

Heres the hip file. Thank you for reading :)

reaarange_test.hipFetching info...  

 

just_head.jpg

allpiecesin_centroid.png

Edited by nimish
Link to comment
Share on other sites

  On 6/14/2021 at 9:58 AM, Dweeble said:

Store point positions before the loop and restore them afterwards? Be aware that the loop will split the points so make sure to fuse them back.

reaarange_test.hiplcFetching info...

Expand  

Thank you for the file @Dweeble 

One more question, is it possible to animate the pieces return back to their original place?

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