So I have a script which clones multiple copies of my navmeshagent ("player").
However if I spawn too many at once they spawn at the same location so immediately collide and "jitter" from the spawn location.
What's the best way to spawn them in a manner which prevents this kind of collision.
My object instantiation code
Prevent Navmesh Agent collision "jittering" if I spawn a lot
However if I spawn too many at once they spawn at the same location so immediately collide and "jitter" from the spawn location.
What's the best way to spawn them in a manner which prevents this kind of collision.
My object instantiation code
Code (CSharp):
- for (int i = 0; i < numberWeHaveToInstantiate; i++)
- {
- clone =...