ricardojmendez / UnitySteer

Steering, obstacle avoidance and path following behaviors for the Unity Game Engine
https://numergent.com/tags/unitysteer/
Other
1.21k stars 277 forks source link

Add OnNeighborsChanged event to SteerForNeighborGroup2D #49

Open sinbad opened 7 years ago

sinbad commented 7 years ago

This is useful for adjusting other behaviours when neighbors change; I found that while aggregation of group behaviours is useful, sometimes you want to be able to change behaviours entirely depending on what's going on with the group, for example if you want to nominate one group leader which changes as groups form & split based on other factors.