Can someone point me in the right direction, im trying to add objects to the game, which I can do, but I dont want the objects to be created over the top of another object, is there any way to find out what part of the scene has no objects in?
I’m sure you could develop a somewhat efficient algorithm by breaking down your area into a grid abstraction. The size of the ‘blocks’ depending on the bounding volume of your objects.
Depending on the clutter you could always use PhysicsOverlapSphere to run a brute force check if the space where you want to instance at is currently empty. If there’s something there, pick another spot. But I’d certainly put an upper limit on the number of iterations!