HTML Encoding and Default Values⤴
<BallJoint
anchorPoint='0,0,0'
body1='x3dom.nodeTypes.RigidBody'
body2='x3dom.nodeTypes.RigidBody'
forceOutput='"NONE"'
metadata='X3DMetadataObject'
></BallJoint>
Fields⤴
These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via
DOM functions (i.e., using
setAttribute("myFieldName", "myFieldValue")
and
getAttribute("myFieldName")
).
Name | Type | Default Value | Range | Inheritance | Standard | Description |
---|---|---|---|---|---|---|
anchorPoint | SFVec3f | 0,0,0 | The common anchor point. | |||
body1 | SFNode | RigidBody | X3DRigidJointNode | The first body to be joint by the node | ||
body2 | SFNode | RigidBody | X3DRigidJointNode | The second rigid body to be joint by the node | ||
forceOutput | SFString | "NONE" | ["ALL", "NONE",...] | X3DRigidJointNode | The forceOutput field is used to control which output fields are to be generated for the next frame. In physics models, the amount of data that can be generated per frame can be quite extensive, particularly in complex models with a large number of joints. A typical application will need only a few of them, if any at all. This field is used to control which of those outputs the author requires to be generated. The values of the array are to describe the names, exactly, of the output field(s) that are to be updated at the start of the next frame. Two special values are defined: "ALL" and "NONE". | |
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information |