CollisionSensor

From Web3D.org
Revision as of 15:04, 9 June 2015 by Walroy (Talk | contribs) (Created page with "*Node Reference ==CollisionSensor== Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#CollisionSensor C...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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 fields requiring attribute value checking.

Schematron validation

TBD