AvoidObstaclesBehaviour
This behaviour simulates an obstacle collision avoidance behaviour and generates a steering force to avoid given obstacles.
Inheritance
Code
XML encoding
<AvoidObstaclesBehaviour minTimeToCollision='1.0' factor='1' logFeature='' />
Classic encoding
AvoidObstaclesBehaviour { minTimeToCollision 1.0 factor 1 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
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 | ||
factor | SFFloat | inputOutput | 1 | The factor this behaviour is applied with. | ||
minTimeToCollision | SFFloat | inputOutput | 1.0 | The minimum time to a collision. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
obstacles | SFNode | inputOutput | The root node of the obstacle subgraph (only Box, Plane geometries are used). Must be a grouping node. |