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
SFVec3f gravity SFVec3f inputOutput 0 -9.8 0 global gravity
SFFloat erp SFFloat inputOutput 0.08 (0, 1] global ERP (error reduction parameter). See ode documentation for details.
SFFloat cfm SFFloat inputOutput 0.01 (0, 1] global CFM (constraint force mixing). See ode documentation for details.
SFBool stepFast SFBool initializeOnly FALSE Selects the step fast or the normal algorithm used by ODE.
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.
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.
MFNode joints MFNode initializeOnly DynamicJoint child joints of this ODE world.
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.
SFBool collideJointBodies SFBool initializeOnly TRUE enable collisons between connected bodies. Prefer using stop values to ensure connected bodies not to collide.
SFFloat bounce SFFloat initializeOnly 0.1 Multiplicator to damp the movement on collisions
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.
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