Difference between revisions of "CollisionSensor"

From Web3D.org
Jump to: navigation, search
(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...")
 
 
Line 27: Line 27:
 
===Attributes===
 
===Attributes===
  
* There are fields requiring attribute value checking.
+
* There are no fields requiring attribute value checking.
  
 
==Schema Validation==
 
==Schema Validation==
Line 41: Line 41:
 
===Attributes===
 
===Attributes===
  
* There are fields requiring attribute value checking.
+
* There are no fields requiring attribute value checking.
  
 
==Schematron validation==
 
==Schematron validation==

Latest revision as of 15:07, 9 June 2015

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