SliderJointD
Wrapper node for the ODE joint type slider. See www.ode.org for detailed description of the underlying engine.
Inheritance
Code
XML encoding
<SliderJointD axis='0 0 0' loStop='-1e20' hiStop='1e20' vel='0' fmax='0' fudge='1' bounce='0' cfm='1e-5' stopErp='0.2' stopCfm='0' force='0' logFeature='' />
Classic encoding
SliderJointD { axis 0 0 0 loStop -1e20 hiStop 1e20 vel 0 fmax 0 fudge 1 bounce 0 cfm 1e-5 stopErp 0.2 stopCfm 0 force 0 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
axis | SFVec3f | inputOutput | 0 0 0 | slider axis | ||
loStop | SFFloat | inputOutput | -1e20 | (-inf, inf) | low stop position | |
hiStop | SFFloat | inputOutput | 1e20 | (-inf, inf) | high stop position | |
vel | SFFloat | inputOutput | 0 | (-inf, inf) | get/set velocity | |
fmax | SFFloat | inputOutput | 0 | [0, inf) | maximum force applied to reach the desired velocity. | |
fudge | SFFloat | inputOutput | 1 | [0, 1] | fudge correction factor. If joint is too jumpy at stops, try reducing this. | |
bounce | SFFloat | inputOutput | 0 | [0, 1] | bounciness at stops | |
cfm | SFFloat | inputOutput | 1e-5 | (0, 1] | CFM (Constraint Force Mixing). See ode docs for explanations of CFM. | |
stopErp | SFFloat | inputOutput | 0.2 | (0, 1] | ERP value on stops. See ode docs for explanation of ERPs. | |
stopCfm | SFFloat | inputOutput | 0 | (0, 1] | CFM value on stops. See ode docs for explanation of CFM. | |
force | SFFloat | inputOutput | 0 | [0, inf) | apply force. resulting velocity depends on the mass of the connected bodies. | |
bodies | MFNode | initializeOnly | Node | the two bodies connected by this joint | ||
force1Feedback | SFVec3f | outputOnly | returns the computed force applied to body1 on each simulation step | |||
force2Feedback | SFVec3f | inputOnly | returns the computed force applied to body2 on each simulation step | |||
torque1Feedback | SFVec3f | outputOnly | returns the computed torque applied to body1 on each simulation step | |||
torque2Feedback | SFVec3f | outputOnly | returns the computed torque applied to body2 on each simulation step | |||
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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |