SteeringVehicle
The SteeringVehicle is used within a SteeringSystem.
Inheritance
Code
XML encoding
<SteeringVehicle center='0 0 0' fixedY='0.0' useFixedY='FALSE' mass='1' radius='1' maxForce='4' maxSpeed='2' logFeature='' showBBox='FALSE' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showProxyGeometry='FALSE' invert='FALSE' translation='0 0 0' scaleOrientation='0 0 1 0' scale='1 1 1' rotation='0 0 1 0' />
Classic encoding
SteeringVehicle { center 0 0 0 fixedY 0.0 useFixedY FALSE mass 1 radius 1 maxForce 4 maxSpeed 2 logFeature [""] showBBox FALSE bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showProxyGeometry FALSE invert FALSE translation 0 0 0 scaleOrientation 0 0 1 0 scale 1 1 1 rotation 0 0 1 0 }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
addChildren | MFNode | inputOnly | The addChildren event appends nodes to the children field of a grouping node. Any nodes passed to the addChildren inputOnly field that are already in the children list of the grouping node are ignored | |||
avoidObstaclesForce | SFVec3f | outputOnly | The current avoid obstacles force (if no avoid obstacles behaviour is used returns a 0-force). | |||
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
behaviours | MFNode | inputOutput | The behaviours of the vehicle. | |||
center | SFVec3f | inputOutput | 0 0 0 | Translation offset from origin of local coordinate system. | ||
children | MFNode | inputOutput | Node | field that contains a list of children nodes | ||
fixedY | SFFloat | inputOutput | 0.0 | If "useFixedY" is true, the value is used for the vehicles y-position | ||
fleeForce | SFVec3f | outputOnly | The current fleeing force. | |||
forward | SFVec3f | outputOnly | The current forward vector of the vehicle. | |||
invert | SFBool | inputOutput | FALSE | inverts matrix if true | ||
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 | ||
mass | SFFloat | inputOutput | 1 | The mass of the vehicle. | ||
matrix_changed | SFMatrix4f | outputOnly | The matrix that defines the nodes transformation after an update. | |||
maxForce | SFFloat | inputOutput | 4 | The maximum force that can be applied to the vehicle. | ||
maxSpeed | SFFloat | inputOutput | 2 | The maximum speed of the vehicle. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
radius | SFFloat | inputOutput | 1 | The size of the bounding sphere (for obstacle avoidance, etc.) | ||
removeChildren | MFNode | inputOnly | The removeChildren event removes nodes from the children fieldof the grouping node . Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored | |||
render | SFBool | inputOutput | TRUE | Flag to control the visibility of the node or subtree | ||
rotation | SFRotation | inputOutput | 0 0 1 0 | Orientation of children relative to local coordinate system. | ||
scale | SFVec3f | inputOutput | 1 1 1 | Non-uniform x-y-z scale of child coordinate system, adjusted by center and scaleOrientation. | ||
scaleOrientation | SFRotation | inputOutput | 0 0 1 0 | Preliminary rotation of coordinate system before scaling (to allow scaling around arbitrary orientations). | ||
seekForce | SFVec3f | outputOnly | The current seeking force. | |||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
showProxyGeometry | SFBool | inputOutput | FALSE | show cartesian coordinate system | ||
speed | SFFloat | outputOnly | 1 | The speed of the vehicle. | ||
translation | SFVec3f | inputOutput | 0 0 0 | Position of children relative to local coordinate system. | ||
update | SFTime | inputOnly | Called by the parent SteeringSystem to drive the simulation. | |||
useFixedY | SFBool | inputOutput | FALSE | Determines whether to use "fixedY" for the y-position of the vehicle. | ||
velocity | SFVec3f | outputOnly | The current velocity of the vehicle. |