SingleAxisHingeJoint has single axis about which to rotate, similar to a traditional door hinge. Contains two RigidBody nodes (containerField values body1, body2).
The SingleAxisHingeJoint node belongs to the RigidBodyPhysics component and its container field is joints. It is available since X3D version 3.2 or later.
SFNode [in, out] metadata NULL [X3DMetadataObject]
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
MFString [in, out] forceOutput "NONE" ["ALL","NONE",...]
ForceOutput controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.
SFVec3f [in, out] anchorPoint 0 0 0
AnchorPoint is joint center, specified in world coordinates.
SFVec3f [in, out] axis 0 0 0
Axis defines vector of joint connection between body1 and body2.
SFFloat [in, out] minAngle [-π,π) not supported
MinAngle is minimum rotation angle for hinge.
SFFloat [in, out] maxAngle [-π,π) not supported
MaxAngle is maximum rotation angle for hinge.
SFFloat [in, out] stopBounce [0,1] not supported
StopBounce is velocity factor for bounce back once stop point is reached.
0 means no bounce, 1 means return velocity matches.
SFFloat [in, out] stopErrorCorrection 0.8 [0,1] not supported
StopErrorCorrection is fraction of error correction performed during time step once stop point is reached.
0 means no error correction, 1 means all error corrected in single step.
SFVec3f [out] body1AnchorPoint
Output field body1AnchorPoint.
SFVec3f [out] body2AnchorPoint
Output field body2AnchorPoint.
SFFloat [out] angle
Output field angle.
SFFloat [out] angleRate
Output field angleRate.
SFNode [in, out] body1 NULL [RigidBody]
Input/Output field body1.
SFNode [in, out] body2 NULL [RigidBody]
Input/Output field body2.