bonassus Posted May 1, 2021 Share Posted May 1, 2021 I have a vellum sim in a dopnet set to continuous and activation set to $FF%20==1. Which creates a vellum cloth on every 20th frame. How can I set a group to each emitted cloth so i can separate them post sim? thanks in advance for any help. Quote Link to comment Share on other sites More sharing options...
underscoreus Posted May 1, 2021 Share Posted May 1, 2021 What I usually do if I want to separate things like this post frame is that I note the creation frame as an attribute and separate it post sim based on that. Using a wrangle with some VEX code similar to: if(i@creationframe==0) { i@creationframe = @Frame; } But this concept could be used to put stuff into unique groups as well. Something like: if(i@lock == 0) { setpointgroup(0,'groupnamehere',@ptnum); i@lock = 1; } For the group name, maybe just use "'Vellum_' + itoa(@Frame)". Hope that can be helpful 1 Quote Link to comment Share on other sites More sharing options...
bonassus Posted May 2, 2021 Author Share Posted May 2, 2021 Exactly! thank you very much. 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.