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. |
meshMatrix | matrix | no | The mesh world matrix. |
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. |