ParticleSkull Posted October 24, 2017 Share Posted October 24, 2017 (edited) Hello guys, I found a lot of topics on this and no one seems to solve the issue but i think it might not be impossible I have this ripping cloth with and extrude node at the end, so it's changing it's point count and consequentelly every point number is also changing. Is there a way to add a unique and persistent ID to every point, creating new IDs for the new ones? Odforce.id.hiplc Edited October 24, 2017 by ParticleSkull add gif Quote Link to comment Share on other sites More sharing options...
Sean-R Posted October 24, 2017 Share Posted October 24, 2017 Try this in a wrangle: @id = @ptnum; Quote Link to comment Share on other sites More sharing options...
ParticleSkull Posted October 24, 2017 Author Share Posted October 24, 2017 (edited) Hey Sean, thx but that's the problem. The point numbers changes over time, I need an attribute that "sticks" to the points EDIT: here's a close look on point numbers at the corner. I need an id attribute that doesn't change Edited October 24, 2017 by ParticleSkull Quote Link to comment Share on other sites More sharing options...
Skybar Posted October 24, 2017 Share Posted October 24, 2017 You should add IDs before the topology changes or at the same time the point gets created during a sim. Assigning IDs after the fact is close to impossible. Should be straightforward enough with a cloth sim though. Take a look at how POPs does IDs and replicate that. 1 Quote Link to comment Share on other sites More sharing options...
ParticleSkull Posted October 24, 2017 Author Share Posted October 24, 2017 Thank you very much, Skybar. It's not the 1st time I learn something cool from you Add the IDs before worked just perfect. Cheers, Alvaro Odforce.id-ok.hiplc 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.