Hello all
hope some one could help.
i have created an array of positions so i could randomly choose to emit particle from. so i get the data i have set and then plug it into an "select in array", and plug it into the "emit from position" node.
works fine but. once i plug in a "randomize" node into the index or a "module". or anything in to the index of the "select in array". nothing emits. it only works if when nothing is plugged into the index. I feel that it should work with a "randomize" node plugged in.
any reason why the randomize node plugged into the index of the select in array stops the emittion from working? and is there a work around?
Problems emitting from multiple positions stored in an array
-
angelous4x
- Posts: 133
- Joined: 06 Nov 2011, 04:24
- Location: new York
Problems emitting from multiple positions stored in an array
You do not have the required permissions to view the files attached to this post.
-
xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 09:02
- Location: Montreal Canada
Re: Problems emitting from multiple positions stored in an array
Yes, there is a reason why Randomize Value by Range does not work in that ICE tree. Take a look inside the Randomize compound. Hint: ID
-
angelous4x
- Posts: 133
- Joined: 06 Nov 2011, 04:24
- Location: new York
Re: Problems emitting from multiple positions stored in an array
Thanks steve Blair
works fine. so simple
i think i understand why it didn't work. it was looking for the point ID to randomize the value per point vs just randomizing the index.
works fine. so simple
i think i understand why it didn't work. it was looking for the point ID to randomize the value per point vs just randomizing the index.
-
xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 09:02
- Location: Montreal Canada
Re: Problems emitting from multiple positions stored in an array
Right, and the point ID did not exist at that point. You just need to use something else as the ID, like maybe NbPoints (except that you are deleting points later on) or maybe even the frame number.angelous4x wrote:Thanks steve Blair
works fine. so simple
i think i understand why it didn't work. it was looking for the point ID to randomize the value per point vs just randomizing the index.
-
angelous4x
- Posts: 133
- Joined: 06 Nov 2011, 04:24
- Location: new York
Re: Problems emitting from multiple positions stored in an array
thanks for your help. Much appreciated.