Miarmy Crowd Simulation Documentation (English)

Repel Forbidden Zone

What is Repel Zone

There is an interesting extra attribute on Zone object, it is "auto repel distance", when this value set greater than 0.1, it can repel agent out from zone without any logic trigger, this is useful when the agents want to get around this zone.

Usage

All the things will work automatically, there is no need any further setup or logic nodes.
But please notice, if the agent already inside, it cannot push out them



Repel zone distance example, the agents already in there will not been pushed out

 


We recommend combine the obstacles meshes to a single mesh (and delete the history), can accelerate the simulation speed tremendously.



A more complex example

 

Basefount Technology