Randomizing scatter points seed value with for loop

   3145   3   0
User Avatar
Member
14 posts
Joined: May 2016
Offline
Hello Friends,

I am stuck on a very simple thing. Can anyone explain me how to randomize seed value of scatter node that is applying to different objects through for loop??

I know its Saturday. Generally people dont talk about work but if anyone can explain me it will be greatly appreciated.

Thanks

Dev
Debadas Mohanty
User Avatar
Member
8531 posts
Joined: July 2007
Online
on your loop Block Begin Node click on Create Meta Import Node
that contains some info like current iteration, value, number of iteration… as detail attibutes
so you can reference it from your seed attribute using detail() expression like:
detail("../foreach_begin1_metadata1/", "iteration", 0)

Attachments:
foreach_loop_scatter_seed_per_iteration.hip (62.7 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
14 posts
Joined: May 2016
Offline
Thanks Tamte..
Debadas Mohanty
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Thats a gold technique Tomas

Rob
Gone fishing
  • Quick Links