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