HingeJointD
Wrapper node for the ODE joint type hinge. See www.ode.org for detailed description of the underlying engine.
Inheritance
Code
XML encoding
<HingeJointD anchor='0 0 0' axis='0 0 0' torque='0' vel='0' loStop='-1e20' hiStop='1e20' fmax='0' fudge='1' bounce='0' cfm='1e-5' stopErp='0.2' stopCfm='0' logFeature='' />
Classic encoding
HingeJointD {
anchor 0 0 0
axis 0 0 0
torque 0
vel 0
loStop -1e20
hiStop 1e20
fmax 0
fudge 1
bounce 0
cfm 1e-5
stopErp 0.2
stopCfm 0
logFeature [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| anchor | SFVec3f | inputOutput | 0 0 0 | anchor point of the joint | ||
| axis | SFVec3f | inputOutput | 0 0 0 | axis of rotation | ||
| torque | SFFloat | inputOutput | 0 | (-inf, inf) | get/set torque | |
| vel | SFFloat | inputOutput | 0 | (-inf, inf) | get/set velocity | |
| loStop | SFFloat | inputOutput | -1e20 | (-inf, inf) | low stop angle | |
| hiStop | SFFloat | inputOutput | 1e20 | (-inf, inf) | high stop angle | |
| fmax | SFFloat | inputOutput | 0 | [0, inf] | maximum force applied to achieve the desired velocity | |
| fudge | SFFloat | inputOutput | 1 | [0, 1] | correction factor. If joint is "jumpy" at stops try to reduce 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 explanation of CFM. | |
| stopErp | SFFloat | inputOutput | 0.2 | (0, 1] | ERP (Error Reduction Parameter) at stops. See ode docs for explanation of ERPs. | |
| stopCfm | SFFloat | inputOutput | 0 | (0, 1] | CFM (Constraint Force Mixing) at stops. See ode docs for explanation of CFM. | |
| 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 |
