Download

Building a Territory at runtime

Hello everyone,

Right now i am working on a more complex Animal AI and now i am running into a problem i somehow can’t get my head around.

My wolves are spawning, forming a pack and being able to do some different hunt-tactics and now i want them to hunt within boundaries, basically creating a territory,

but i just cannot figure out a way to create a defined territory on runtime.

Can someone give me some hints on how i can create a fixed Boundary ?

Thank you very much in advance

Without any context outside of what you’re describing, one apparent solution would simply be to define a Territory as some point in space along with a radius. If the pack’s target/prey is outside the radius, they ignore it. Should be easy to do on the fly.

Thanks, i tried so much, but from time to time you can’t see the easiest solution.