jonidunno Posted August 7, 2019 Share Posted August 7, 2019 Hey all, Trying to wrap my head around this... thought it was going to be easy until I got into it. I'm tying to randomize each level in a copy transform in my setup. I get close but I end up randomizing all prims instead of each level. I attached the hipfile. jl_iterLevel_01.hip Please Help, Thanks! Quote Link to comment Share on other sites More sharing options...
woodenduck Posted August 7, 2019 Share Posted August 7, 2019 Sounds like your for-each is running over each prim rather than each level. You can add an "assemble" sop before the for-each and try selecting "for-each named primitive" from the tab menu. Or just check the "Piece attribute" parameter and set the appropriate attribute name. Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted August 7, 2019 Share Posted August 7, 2019 Another option can be randomizing the scale of each level and adding it on top of the current stack. The current height of the stack can be measured to calculate the right offset. jl_iterLevel_01_X.hipnc 1 Quote Link to comment Share on other sites More sharing options...
jonidunno Posted August 7, 2019 Author Share Posted August 7, 2019 7 minutes ago, Aizatulin said: Another option can be randomizing the scale of each level and adding it on top of the current stack. The current height of the stack can be measured to calculate the right offset. jl_iterLevel_01_X.hipnc This is exactly what I was thinking! Thanks for taking a look I really appreciate it! 1 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.