Titania X3D Editor

Bring Colours to Your Life.

Titania v4.1.1

Bring Colours to Your Life.

X3D Reference



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.

SFNode [in, out] body1 NULL [RigidBody]

Input/Output field body1.

SFNode [in, out] body2 NULL [RigidBody]

Input/Output field body2.

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] maxAngle 3.14159

MaxAngle is maximum rotation angle for hinge.

SFFloat [in, out] minAngle -3.14159 π

MinAngle is minimum rotation angle for hinge.

SFFloat [in, out] stopBounce [0,1]

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]

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.

SFFloat [out] angle

Output field angle.

SFFloat [out] angleRate

Output field angleRate.

SFVec3f [out] body1AnchorPoint

Output field body1AnchorPoint.

SFVec3f [out] body2AnchorPoint

Output field body2AnchorPoint.



  • RigidBodyPhysics component, level 2.

Browser Compatibility

Titania X_ITE
no no

External Links