DynamicWorld
Node to configure an ODE world. See www.ode.org for detailed documentation of the underlying engine.
Inheritance
Code
XML encoding
<DynamicWorld gravity='0 -9.8 0' erp='0.08' cfm='0.01' stepFast='FALSE' triggerName='Timer' maxFrameTime='0.1' maxIterations='10' collideJointBodies='TRUE' bounce='0.1' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
DynamicWorld { gravity 0 -9.8 0 erp 0.08 cfm 0.01 stepFast FALSE triggerName "Timer" maxFrameTime 0.1 maxIterations 10 collideJointBodies TRUE bounce 0.1 bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
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 | |||
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. | ||
bounce | SFFloat | initializeOnly | 0.1 | Multiplicator to damp the movement on collisions | ||
cfm | SFFloat | inputOutput | 0.01 | (0, 1] | global CFM (constraint force mixing). See ode documentation for details. | |
children | MFNode | inputOutput | Node | field that contains a list of children nodes | ||
collideJointBodies | SFBool | initializeOnly | TRUE | enable collisons between connected bodies. Prefer using stop values to ensure connected bodies not to collide. | ||
erp | SFFloat | inputOutput | 0.08 | (0, 1] | global ERP (error reduction parameter). See ode documentation for details. | |
gravity | SFVec3f | inputOutput | 0 -9.8 0 | global gravity | ||
joints | MFNode | initializeOnly | DynamicJoint | child joints of this ODE world. | ||
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 | ||
maxFrameTime | SFFloat | initializeOnly | 0.1 | (0, inf) | maximum time set as frameStep. This value is use, when the delta between now and the last frame was bigger then this. This is needed to keep the physics simulation stable but leads to non-realtime behaviour of the simulation. | |
maxIterations | SFInt32 | initializeOnly | 10 | [0, inf) | maximum iterations used to compute a timestep. | |
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
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 | ||
showBBox | SFBool | inputOutput | FALSE | Show Bounding Box of Subtree. | ||
stepFast | SFBool | initializeOnly | FALSE | Selects the step fast or the normal algorithm used by ODE. | ||
triggerName | SFString | initializeOnly | Timer | name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutut to the triggerSlot-eventInput Slot. | ||
triggerSlot | SFTime | inputOnly | slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger. |