element CollidableOffset
diagram x3d-3.2_diagrams/x3d-3.2_p21.png
type extension of X3DNBodyCollidableNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString CollidableOffset CollidableShape ProtoInstance
used by
elements CollidableOffset CollisionCollection CollisionSpace Contact
groups RigidBodyContentModel SceneGraphFragmentContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referenceable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
bboxCenter  SFVec3f    0 0 0    
bboxSize  bboxSizeType    -1 -1 -1    
enabled  SFBool    true    
rotation  SFRotation    0 0 1 0    
translation  SFVec3f    0 0 0    
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:element name="collidable" type="SFNode" fixed="initializeOnlyField" default="X3DNBodyCollidableNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                CollidableOffset repositions geometry relative to center of owning body.
source <xs:element name="CollidableOffset">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="collidable" type="SFNode" fixed="initializeOnlyField" default="X3DNBodyCollidableNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
                CollidableOffset repositions geometry relative to center of owning body.
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#CollidableOffset"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DNBodyCollidableNode">
       
<xs:choice minOccurs="0" maxOccurs="1">
         
<xs:element ref="CollidableOffset">
           
<xs:annotation>
             
<xs:documentation>collidable</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element ref="CollidableShape">
           
<xs:annotation>
             
<xs:documentation>collidable</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element ref="ProtoInstance">
           
<xs:annotation>
             
<xs:documentation>Appropriately typed substitution node</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:choice>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute CollidableOffset/@containerField
type xs:NMTOKEN
properties
default children
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy