juncho Posted March 26, 2020 Share Posted March 26, 2020 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. HIP file : flares_odforce_0327.hip Quote Link to comment Share on other sites More sharing options...
toadstorm Posted March 26, 2020 Share Posted March 26, 2020 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. 1 Quote Link to comment Share on other sites More sharing options...
juncho Posted March 27, 2020 Author Share Posted March 27, 2020 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 ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.