SnpM / LockstepFramework

Framework for lockstep RTS, TD, and MOBA games.
MIT License
1.41k stars 351 forks source link

Avoidance Priority #84

Closed sooonism closed 8 years ago

sooonism commented 8 years ago

Is there a way to set an avoidance priority? Just like how it works in Unity3d Navmesh Agent. The high priority agent in away can push low priority agent. And the low priority agent will have to find other path if high priority agent is in a way.

SnpM commented 8 years ago

Yeah, LSBody.Priority

On Thu, Jul 14, 2016 at 11:53 PM, Sooon notifications@github.com wrote:

Is there a way to set an avoidance priority? Just like how it works in Unity3d Navmesh Agent. The high priority agent in away can push low priority agent. And the low priority agent will have to find other path if high priority agent is in a way.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SnpM/LockstepFramework/issues/84, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXqp6Q2e9hbaYZ5n3V9CVB9pXEoWVYkks5qVyBfgaJpZM4JNGZJ .

sooonism commented 8 years ago

There are no Priority in Inspector. Do you mean base priority? I tried to change it but it seems like nothing happen.

sooonism commented 8 years ago

OK, I found it. Strange that it did not show up in Inspector even it is public.