HTML Encoding and Default Values⤴
<CollisionSensor
collider='x3dom.nodeTypes.CollisionCollection'
enabled='true'
metadata='X3DMetadataObject'
></CollisionSensor>
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 |
---|---|---|---|---|---|---|
collider | SFNode | CollisionCollection | The collider field specifies the nodes and spaces that are to be included in collision detection computations. | |||
enabled | SFBool | true | Core/X3DSensorNode | Specifies whether this sensor is enabled. A disabled sensor does not produce any output. | ||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information |