Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.4

Bring Colours to Your Life.

X3D Reference

BallJoint

BallJoint

BallJoint represents an unconstrained joint between two bodies that pivot about a common anchor point. Contains two RigidBody nodes (containerField values body1, body2).

The BallJoint 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.

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 [out] body1AnchorPoint

Body1AnchorPoint describes anchorPoint position relative to local coordinate reference frame.

Hint

Can detect separation if body1AnchorPoint!=body2AnchorPoint.

SFVec3f [out] body2AnchorPoint

Body2AnchorPoint describes anchorPoint position relative to local coordinate reference frame.

Hint

Can detect separation if body1AnchorPoint!=body2AnchorPoint.

SFNode [in, out] body1 NULL [RigidBody]

Input/Output field body1.

SFNode [in, out] body2 NULL [RigidBody]

Input/Output field body2.

Description

Hint

  • RigidBodyPhysics component, level 2.

Example

BallJoint

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.