Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

UniversalJoint

UniversalJoint

UniversalJoint is like a BallJoint that constrains an extra degree of rotational freedom. Contains two RigidBody nodes (containerField values body1, body2).

The UniversalJoint node belongs to the RigidBodyPhysics component and its container field is joints. It is available since X3D version 3.2 or later.

Hierarchy

Fields

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] axis1 0 0 0

Axis1 defines axis vector of joint connection to body1.

Hint

0 0 0 means motor disabled.

SFVec3f [in, out] axis2 0 0 0

Axis2 defines axis vector of joint connection to body2.

Hint

0 0 0 means motor disabled.

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

Input/Output field stopBounce1.

SFFloat [in, out] stop1ErrorCorrection 0.8 [0,1]

Stop1ErrorCorrection is fraction of error correction performed during time step once stop point is reached.

Hint

0 means no error correction, 1 means all error corrected in single step.

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

Stop2Bounce is velocity factor for bounce back once stop point is reached.

Hint

0 means no bounce, 1 means return velocity matches.

SFFloat [in, out] stop2ErrorCorrection 0.8 [0,1]

Stop2ErrorCorrection is fraction of error correction performed during time step once stop point is reached.

Hint

0 means no error correction, 1 means all error corrected in single step.

SFVec3f [out] body1AnchorPoint

Output field body1AnchorPoint.

SFVec3f [out] body1Axis

Output field body1Axis.

SFVec3f [out] body2AnchorPoint

Output field body2AnchorPoint.

SFVec3f [out] body2Axis

Output field body2Axis.

Description

Hints

  • Useful in combination with BallJoint.
  • RigidBodyPhysics component, level 2.

Browser Compatibility

Titania X_ITE
no no

External Links