Hello all!
I was wondering if there was a way to place control how random objects are placed. Ex: place random objects 10px apart or Place random objects only below x,100
Hello all!
I was wondering if there was a way to place control how random objects are placed. Ex: place random objects 10px apart or Place random objects only below x,100
Just multiply by the distance apart you want objects. e.g. Random(100) * 10 will return a random value from 0 - 1000, in increments of 10.
Create object rock at Random(100) * 50, Random(10) * 50 - 400
Will create rocks spaced 50 pixels apart in the range x = 0 to 5000 and y = -400 to 100.