CollisionSensor

From Web3D.org
Jump to: navigation, search

CollisionSensor

Specification Link: CollisionSensor

CollisionSensor : X3DSensorNode {
  SFNode   [in,out] collider      NULL [CollisionCollection]
  SFBool   [in,out] enabled       TRUE
  SFNode   [in,out] metadata      NULL [X3DMetadataObject]
  MFNode   [out]    contacts           [Contact]
  MFNode   [out]    intersections      [X3DNBodyCollidableNode]
  SFBool   [out]    isActive
}

DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. A single, optional CollisionCollection node, which may be substituted by an appropriately typed Prototype node

Attributes

  • There are no fields requiring attribute value checking.

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. A single, optional CollisionCollection node, which may be substituted by an appropriately typed Prototype node

Attributes

  • There are no fields requiring attribute value checking.

Schematron validation

TBD