Hi, ive been reading up on this for a while but i haven’t found anything that helps. I have set up spawning that use wave systems but this is different. I want my environment to have wildlife. I have the ai set up using Emerald AI im just trying to figure out the best way to handle the spawning. There is no point in spawning a load across the entire map if the player cant see them as it would just cause performance issues. Ive been looking into occlusion but that does not really help me figure out the spawning. So does anyone know of any resources i can look at that would help me or just point me in the right direction.
I had been working on this myself. So far, I’ve gone with a series of spawners that test for distance from player. Closest spawner does the initial instantiation and establishes the object pool. Then once one of the other rezzers detects player is nearing visual range (700 units for my purposes), the animals are moved, with the pos.y set to terrain height+whatever. This is working for singles and small herds in open environments, but I can see already where it would become problematic with structure-heavy environments or large herds.
I’m sure there are more eloquent ways to do it, but for a sparsely populated savannah / desert, this works for now.