If you've associated a collection of objects with an item's particle properties, is Use Count the right thing to use if you want to assign probabilities for how often you want given objects to be used? Or is there something else that's a better match?

In this previous question, I discovered that the particle choosing algorithm works repeatedly through the collection list, laying down particles according to the count assigned to them.

So if you want anything like a random probability-based distribution, you first need to enable Pick Random. If I was assigning probabilities, I'd usually use decimal fractions that total up to 1.0:

  • Elves - 0.04
  • Men - 0.5
  • Dwarves - 0.15
  • Hobbits - 0.06
  • Orcs - 0.25

If I want to achieve the same with counts then the most obvious way is to apply a factor that eliminates all decimal places, e.g. 100 in this case:

  • Elves - 4
  • Men - 50
  • Dwarves - 15
  • Hobbits - 6
  • Orcs - 25

This isn't too bad but I was wondering if there was a more direct way of doing things (that e.g. enforced that the values add up to 1.0 or 100 as in the example above)?

  • 1
    $\begingroup$ I believe you described the intended way to use this feature. Some kind of widget or slider that updates the other values might be useful but it is tricky to design. If you're fluent in Python you could create a script that automatically does it for you $\endgroup$
    – Gorgious
    May 22 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.