Hinge2JointD
Wrapper node for the ODE joint type hinge2. See www.ode.org for detailed description of the underlying engine.
Inheritance
Code
XML encoding
<Hinge2JointD logFeature='' suspensionCfm2='1e-5' suspensionErp2='1' suspensionCfm1='1e-5' suspensionErp1='1' stopCfm1='0' stopCfm2='0' stopErp2='0.2' stopErp1='0.2' cfm2='1e-5' fudge2='1' bounce1='0' bounce2='0' cfm1='1e-5' fmax2='0' fudge1='1' fmax1='0' hiStop2='1e20' hiStop1='1e20' loStop1='-1e20' loStop2='-1e20' vel2='0' torque2='0' vel1='0' axis2='1 0 0' torque1='0' anchor='0 0 0' axis1='0 -1 0' />
Classic encoding
Hinge2JointD {
logFeature [""]
suspensionCfm2 1e-5
suspensionErp2 1
suspensionCfm1 1e-5
suspensionErp1 1
stopCfm1 0
stopCfm2 0
stopErp2 0.2
stopErp1 0.2
cfm2 1e-5
fudge2 1
bounce1 0
bounce2 0
cfm1 1e-5
fmax2 0
fudge1 1
fmax1 0
hiStop2 1e20
hiStop1 1e20
loStop1 -1e20
loStop2 -1e20
vel2 0
torque2 0
vel1 0
axis2 1 0 0
torque1 0
anchor 0 0 0
axis1 0 -1 0
}
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 | ||
| axis1 | SFVec3f | inputOutput | 0 -1 0 | axis1 | ||
| axis2 | SFVec3f | inputOutput | 1 0 0 | axis2 | ||
| torque1 | SFFloat | inputOutput | 0 | (-inf, inf) | get/set torque of axis1 | |
| torque2 | SFFloat | inputOutput | 0 | (-inf, inf) | get/set torque of axis2 | |
| vel1 | SFFloat | inputOutput | 0 | (-inf, inf) | get/set velocity of axis1 | |
| vel2 | SFFloat | inputOutput | 0 | (-inf, inf) | get/set velocity of axis2 | |
| loStop1 | SFFloat | inputOutput | -1e20 | (-inf, inf) | low stop angle on axis1 | |
| loStop2 | SFFloat | inputOutput | -1e20 | (-inf, inf) | low stop angle on axis2 | |
| hiStop1 | SFFloat | inputOutput | 1e20 | (-inf, inf) | high stop angle on axis1 | |
| hiStop2 | SFFloat | inputOutput | 1e20 | (-inf, inf) | high stop angle on axis2 | |
| fmax1 | SFFloat | inputOutput | 0 | [0, inf) | maximum force that will be used to achieve the desired velocity | |
| fmax2 | SFFloat | inputOutput | 0 | [0, inf) | maximum force that will be used to achieve the desired velocity | |
| fudge1 | SFFloat | inputOutput | 1 | [0, 1] | correction factor. If joint is "jumpy" at stops try to reduce this. | |
| fudge2 | SFFloat | inputOutput | 1 | [0, 1] | correction factor. If joint is "jumpy" at stops try to reduce this. | |
| bounce1 | SFFloat | inputOutput | 0 | [0, 1] | bounciness at stops on axis1. | |
| bounce2 | SFFloat | inputOutput | 0 | [0, 1] | bounciness at stops on axis2. | |
| cfm1 | SFFloat | inputOutput | 1e-5 | (0, 1] | CFM on axis1 (see ode docs for explanation of CFM (Constraint Force Mixing) | |
| cfm2 | SFFloat | inputOutput | 1e-5 | (0, 1] | CFM on axis2 (see ode docs for explanation of CFM (Constraint Force Mixing) | |
| stopErp1 | SFFloat | inputOutput | 0.2 | (0, 1] | ERP (Error Reduction Parameter) at stops on axis1. See ode docs for details on ERPs. | |
| stopErp2 | SFFloat | inputOutput | 0.2 | (0, 1] | ERP (Error Reduction Parameter) at stops on axis2. See ode docs for details on ERPs. | |
| stopCfm1 | SFFloat | inputOutput | 0 | (0, 1] | CFM (Constraint Force Mixing) at stops on axis1. See ode docs for details on CFM. | |
| stopCfm2 | SFFloat | inputOutput | 0 | (0, 1] | CFM (Constraint Force Mixing) at stops on axis2. See ode docs for details on CFM. | |
| suspensionErp1 | SFFloat | inputOutput | 1 | (0, 1] | Suspension on axis1. See ode docs for details on ERPs. | |
| suspensionErp2 | SFFloat | inputOutput | 1 | (0, 1] | Suspension on axis2. See ode docs for details on ERPs. | |
| suspensionCfm1 | SFFloat | inputOutput | 1e-5 | (0, 1] | Suspension on axis1. See ode docs for details on CFM. | |
| suspensionCfm2 | SFFloat | inputOutput | 1e-5 | (0, 1] | Suspension on axis2. See ode docs for details on CFM. | |
| angle1 | SFFloat | outputOnly | Hinge2 angel 1 in rad | |||
| angle1Rate | SFFloat | outputOnly | Angle1 rate | |||
| angle2Rate | SFFloat | outputOnly | Angle2 rate | |||
| 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 |
