Jump to content

copy to points with little bit off from pivot


Recommended Posts

I'm trying to copy geometries to points with target points orientation randomized.

But it's a little bit off. Unchecking Transform Using Target Point Orientations in copytopoints node copies to the points, but without orientation.

These target points are not static. It is simulated but I've used timeshift node to the targeted frame. Both start and end frame clamped.

Before coping geometries to points, I added an pointwrangle to randomize orientation for taget points.

Quote

 

VEX I used for points orientation

@orient = rand(@ptnum);

 

Thank you as always for your help :)

 

Image and hip files are posted below.

1.png.69801fa9e8bd0a4c8ca180b9825c4326.png

HIP file : flares_odforce_0327.hip

 

Link to comment
Share on other sites

Your source for the points to copy are from an RBD simulation, so they have a v@pivot point attribute, which the Copy to Points SOP recognizes and will apply to the resulting geometry. If you just delete v@pivot, you'll get your copies centered on the input points.

  • Thanks 1
Link to comment
Share on other sites

8 hours ago, toadstorm said:

Your source for the points to copy are from an RBD simulation, so they have a v@pivot point attribute, which the Copy to Points SOP recognizes and will apply to the resulting geometry. If you just delete v@pivot, you'll get your copies centered on the input points.

Thanks :) It's now copied to the input points !

 

1.thumb.png.9acb0a54a42aab8765c755b9e8a0869a.png

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