Hey,
I would like to randomly distribute objects in a spherical volume defined by a radius, how would I do that?
Cheers
Forum topic · General Scripting
Volume
By br0t · 2011-08-31
Forum topic · General Scripting
By br0t · 2011-08-31
Hey,
I would like to randomly distribute objects in a spherical volume defined by a radius, how would I do that?
Cheers
Comments (2)
Comment policy
Hi Br0t
I think you need random radius and angle rotation.
Pseudo code (not tetsed):
Let me know is this helps at all ;)
Hmm... or maybe the next is better?...
You can check RTTAssist sours code. I'v developed the explode function that explode objects in a spherical volume, but not randomly. May be you can modify the code to fit your needs. :)