element CollisionCollection
diagram x3d-3.3_p27.png
type extension of X3DNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString CollidableOffset CollidableShape CollisionSpace ProtoInstance
used by
element CollisionSensor
groups RigidBodyCollectionContentModel SceneGraphFragmentContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable 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 XML stylesheets.
appliedParameters  MFString    "BOUNCE"    
documentation
Array of appliedParametersValues. Note that strict validation of appliedParameters enumeration values does not occur via schema since MFString allows any value in any order.
bounce  derived by: SFFloat    0    
enabled  SFBool    true    
frictionCoefficients  SFVec2f    0 0    
appinfo
<xs:minInclusive value="0"/>
minBounceSpeed  derived by: SFFloat    0.1    
slipFactors  SFVec2f    0 0    
softnessConstantForceMix  derived by: SFFloat    0.0001    
softnessErrorCorrection  derived by: SFFloat    0.8    
surfaceSpeed  SFVec2f    0 0    
containerField  xs:NMTOKEN    collider    
annotation
appinfo
<xs:attribute name="appliedParameters" type="appliedParametersValues"/>
<xs:element name="collidables" type="MFNode" fixed="inputOutputField" default="X3DNBodyCollisionSpaceNode|X3DNBodyCollidableNode"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="RigidBodyPhysics"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="CollisionCollection">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="appliedParameters" type="appliedParametersValues"/>
     
<xs:element name="collidables" type="MFNode" fixed="inputOutputField" default="X3DNBodyCollisionSpaceNode|X3DNBodyCollidableNode"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="RigidBodyPhysics"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
   
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#CollisionCollection"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DNode">
       
<xs:choice minOccurs="0" maxOccurs="unbounded">
         
<xs:annotation>
           
<xs:documentation>collidables</xs:documentation>
         
</xs:annotation>
         
<xs:element ref="CollidableOffset"/>
         
<xs:element ref="CollidableShape"/>
         
<xs:element ref="CollisionSpace"/>
         
<xs:element ref="ProtoInstance">
           
<xs:annotation>
             
<xs:documentation>Appropriately typed substitution node</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:choice>
       
<xs:attribute name="appliedParameters" type="MFString" default='"BOUNCE"'>
         
<xs:annotation>
           
<xs:documentation>Array of appliedParametersValues. Note that strict validation of appliedParameters enumeration values does not occur via schema since MFString allows any value in any order.</xs:documentation>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="bounce" default="0">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
             
<xs:maxInclusive value="1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="enabled" type="SFBool" default="true"/>
       
<xs:attribute name="frictionCoefficients" type="SFVec2f" default="0 0">
         
<xs:annotation>
           
<xs:appinfo>
             
<xs:minInclusive value="0"/>
           
</xs:appinfo>
         
</xs:annotation>
       
</xs:attribute>
       
<xs:attribute name="minBounceSpeed" default="0.1">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="slipFactors" type="SFVec2f" default="0 0"/>
       
<xs:attribute name="softnessConstantForceMix" default="0.0001">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
             
<xs:maxInclusive value="1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="softnessErrorCorrection" default="0.8">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
             
<xs:maxInclusive value="1"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="surfaceSpeed" type="SFVec2f" default="0 0"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="collider"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute CollisionCollection/@appliedParameters
type MFString
properties
default "BOUNCE"
annotation
documentation
Array of appliedParametersValues. Note that strict validation of appliedParameters enumeration values does not occur via schema since MFString allows any value in any order.
source <xs:attribute name="appliedParameters" type="MFString" default='"BOUNCE"'>
 
<xs:annotation>
   
<xs:documentation>Array of appliedParametersValues. Note that strict validation of appliedParameters enumeration values does not occur via schema since MFString allows any value in any order.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute CollisionCollection/@bounce
type restriction of SFFloat
properties
default 0
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="bounce" default="0">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute CollisionCollection/@enabled
type SFBool
properties
default true
source <xs:attribute name="enabled" type="SFBool" default="true"/>

attribute CollisionCollection/@frictionCoefficients
type SFVec2f
properties
default 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
annotation
appinfo
<xs:minInclusive value="0"/>
source <xs:attribute name="frictionCoefficients" type="SFVec2f" default="0 0">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:minInclusive value="0"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute CollisionCollection/@minBounceSpeed
type restriction of SFFloat
properties
default 0.1
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="minBounceSpeed" default="0.1">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute CollisionCollection/@slipFactors
type SFVec2f
properties
default 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
source <xs:attribute name="slipFactors" type="SFVec2f" default="0 0"/>

attribute CollisionCollection/@softnessConstantForceMix
type restriction of SFFloat
properties
default 0.0001
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="softnessConstantForceMix" default="0.0001">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute CollisionCollection/@softnessErrorCorrection
type restriction of SFFloat
properties
default 0.8
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="softnessErrorCorrection" default="0.8">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute CollisionCollection/@surfaceSpeed
type SFVec2f
properties
default 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
source <xs:attribute name="surfaceSpeed" type="SFVec2f" default="0 0"/>

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


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