FleeBehaviour
Returns a steering force to flee from a given target location.
Inheritance
Code
XML encoding
<FleeBehaviour target='0 0 0' factor='1' logFeature='' />
Classic encoding
FleeBehaviour { target 0 0 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. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
target | SFVec3f | inputOutput | 0 0 0 | The current target of the flee behaviour. |