This post shows how to spawn objects randomly around a level but cull them until an object, such as the player, gets within a certain distance of them. Read more [...]