Collision Avoidance
Agent Avoidance
You can use the agent avoidance component to remove any collisions between agents. This component uses several avoidance algorithms.
Mesh Avoidance
With the mesh avoidance component, you can avoid the intersection between agents and geometries in your scene
Create an agent group
Add a grid layout module and set the size attribute to (3,3,1).
Add state machine module. Set the "state" attribute of the stateMachine module to 1
Create a cube in your scene and scale it so that it covers a wide area in front of your agents. If you want to use multiple geos, you have to make sure they are all combined in the same mesh.
Add a mesh avoidance module to your group.
In the mesh attribute of the mesh, avoidance module select the cube you have created
Set the Distance parameter to 500.
Press play
Related content
Copyright © 2017, Toolchefs LTD.