Objects overlapping
Hey there!
I'm new to Vizard and to Python.
I have to set a few cylinders to random positions, but they shouldn't overlap in any way.
I don't really know how to ensure this. I thought of an array that holds all the positions (resp. the areas) of the already loaded cylinders and comparing every new random position with it before loading the new cylinder. Now I wonder if there is an easier way to handle this?!
|