Jump to content
juncho

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

 

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×