The mesh avoidance module makes sure your agents do not collide with a given mesh.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
distance | float | yes | |
maxTurnAngle | double | no | The max turn angle. |
mesh | mesh | no | The mesh to avoid. |
samples | int | no | |
sightAngle | double | no | The sight angle of the agents. The mesh will be avoided only if it falls within the agent sight. |
weight | double | yes | Weight. |