AvoidNeighborBehaviour
This behaviour simulates an unaligned collision avoidance behaviour and generates a steering force to avoid colliding with other nearby vehicles moving in unconstrained directions.
Inheritance
Code
XML encoding
<AvoidNeighborBehaviour minTimeToCollision='1.0' factor='1' logFeature='' />
Classic encoding
AvoidNeighborBehaviour { minTimeToCollision 1.0 factor 1 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
factor | SFFloat | inputOutput | 1 | The factor this behaviour is applied with. | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
minTimeToCollision | SFFloat | inputOutput | 1.0 | The minimum time to a collision. |