Class: X3DRigidJointNode

X3D: 3.3
Component: RigidBodyPhysics
fully implemented

x3dom.nodeTypes. X3DRigidJointNode

The X3DRigidJointNode abstract node type is the base type for all joint types.

HTML Encoding and Default Values

<X3DRigidJointNode body1='x3dom.nodeTypes.RigidBody' body2='x3dom.nodeTypes.RigidBody' forceOutput='"NONE"' metadata='X3DMetadataObject' ></X3DRigidJointNode>




Constructor for X3DRigidJointNode

Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace


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
body1 SFNode RigidBody The first body to be joint by the node
body2 SFNode RigidBody The second rigid body to be joint by the node
forceOutput SFString "NONE" ["ALL", "NONE",...] 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 X3DNode Field to add metadata information