instantreality 1.0

Component:
Physics
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

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
MFNode 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
SFVec3f bboxCenter SFVec3f initializeOnly 0 0 0 Bounding box center: position offset from origin of local coordinate system.
SFVec3f bboxSize SFVec3f initializeOnly -1 -1 -1 Bounding box size: automatically calculated, can be specified as an optimization or constraint.
SFFloat bounce SFFloat initializeOnly 0.1 Multiplicator to damp the movement on collisions
SFFloat cfm SFFloat inputOutput 0.01 (0, 1] global CFM (constraint force mixing). See ode documentation for details.
MFNode children MFNode inputOutput Node field that contains a list of children nodes
SFBool collideJointBodies SFBool initializeOnly TRUE enable collisons between connected bodies. Prefer using stop values to ensure connected bodies not to collide.
SFFloat erp SFFloat inputOutput 0.08 (0, 1] global ERP (error reduction parameter). See ode documentation for details.
SFVec3f gravity SFVec3f inputOutput 0 -9.8 0 global gravity
MFNode joints MFNode initializeOnly DynamicJoint child joints of this ODE world.
MFString 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
SFFloat 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.
SFInt32 maxIterations SFInt32 initializeOnly 10 [0, inf) maximum iterations used to compute a timestep.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
MFNode 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
SFBool render SFBool inputOutput TRUE Flag to control the visibility of the node or subtree
SFBool showBBox SFBool inputOutput FALSE Show Bounding Box of Subtree.
SFBool stepFast SFBool initializeOnly FALSE Selects the step fast or the normal algorithm used by ODE.
SFString 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.
SFTime 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.