Difference between revisions of "CollidableOffset"

From Web3D.org
Jump to: navigation, search
(Created page with "*Node Reference ==CollidableOffset== Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#CollidableOffset...")
 
 
Line 9: Line 9:
 
   SFNode    [in,out] metadata    NULL    [X3DMetadataObject]
 
   SFNode    [in,out] metadata    NULL    [X3DMetadataObject]
 
   SFRotation [in,out] rotation    0 0 1 0  [0,1]
 
   SFRotation [in,out] rotation    0 0 1 0  [0,1]
   SFVec3f    [in,out] translation 0 0 0    (-&inf;,&inf;)
+
   SFVec3f    [in,out] translation 0 0 0    (-∞,∞)
   SFvec3f    []      bboxCenter  0 0 0    (-&inf;,&inf;)
+
   SFvec3f    []      bboxCenter  0 0 0    (-∞,∞)
   SFV3c3f    []      bboxSize    -1 -1 -1 [0,&inf;) or -1 -1 -1
+
   SFV3c3f    []      bboxSize    -1 -1 -1 [0,∞) or -1 -1 -1
 
   SFNode    []      collidable  NULL    [X3DNBodyCollidableNode]
 
   SFNode    []      collidable  NULL    [X3DNBodyCollidableNode]
 
}
 
}

Latest revision as of 08:02, 13 May 2015

CollidableOffset

Specification Link: CollidableOffset

CollidableOffset : X3DNBodyCollidableNode {
  SFBool     [in,out] enabled     TRUE
  SFNode     [in,out] metadata    NULL     [X3DMetadataObject]
  SFRotation [in,out] rotation    0 0 1 0  [0,1]
  SFVec3f    [in,out] translation 0 0 0    (-∞,∞)
  SFvec3f    []       bboxCenter  0 0 0    (-∞,∞)
  SFV3c3f    []       bboxSize    -1 -1 -1 [0,∞) or -1 -1 -1
  SFNode     []       collidable  NULL     [X3DNBodyCollidableNode]
}

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 node of one of the following types:
    1. An appropriately typed Prototype node
    2. CollidableOffset
    3. CollidableShape

Attributes

  • There is no check that the values in the rotation field are acceptable.
  • There is no check that the values in the bboxSize field are acceptable.

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 node of one of the following types:
    1. An appropriately typed Prototype node
    2. CollidableOffset
    3. CollidableShape

Attributes

  • There is some checking that the values of the first three components in the rotation field are acceptable.
  • There is some checking that the values in the bboxSize field are acceptable.

Schematron validation

TBD