Is it possible to scatter numbers of points inside a room?

Hi guys, I’m trying to generate random points inside a room (given that I have the center point of the room, if that’s relevant) and use those points for calculation of stochastic behaviors of rays. Can this be done? Thanks in advance!

Randomized vectors could be used to translate the ‘base point’ to new locations, which would then have to be tested for intersection with the solid of the room.

this might help you halfway

You can filter out indices randomly out of an ordered pattern
TIP: search the forum for “random” and “item at index”

1 Like