element RigidBodyCollection
diagram x3d-3.3_diagrams/x3d-3.3_p186.png
type extension of X3DChildNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString CollisionCollection RigidBody BallJoint DoubleAxisHingeJoint MotorJoint SingleAxisHingeJoint SliderJoint UniversalJoint ProtoInstance
used by
group ChildContentModelFull
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.
autoDisable  SFBool    false    
constantForceMix  SFFloat    0.0001    
contactSurfaceThickness  SFFloat    0    
disableAngularSpeed  SFFloat    0    
disableLinearSpeed  SFFloat    0    
disableTime  derived by: SFTime    0    
enabled  SFBool    true    
errorCorrection  SFFloat    0.8    
gravity  SFVec3f    0 -9.8 0    
iterations  SFInt32    10    
maxCorrectionSpeed  SFFloat    -1    
preferAccuracy  SFBool    false    
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:element name="set_contacts" type="MFNode" fixed="inputOnlyField" default="Contact"/>
<xs:element name="bodies" type="MFNode" fixed="inputOutputField" default="RigidBody"/>
<xs:element name="joints" type="MFNode" fixed="inputOutputField" default="X3DRigidJointNode"/>
<xs:element name="collider" type="SFNode" fixed="initializeOnlyField" default="CollisionCollection"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                RigidBodyCollection represents a system of bodies that interact within a single physics model.
source <xs:element name="RigidBodyCollection">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="set_contacts" type="MFNode" fixed="inputOnlyField" default="Contact"/>
     
<xs:element name="bodies" type="MFNode" fixed="inputOutputField" default="RigidBody"/>
     
<xs:element name="joints" type="MFNode" fixed="inputOutputField" default="X3DRigidJointNode"/>
     
<xs:element name="collider" type="SFNode" fixed="initializeOnlyField" default="CollisionCollection"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                RigidBodyCollection represents a system of bodies that interact within a single physics model.
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#RigidBodyCollection"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DChildNode">
       
<xs:group ref="RigidBodyCollectionContentModel" minOccurs="0"/>
       
<xs:attribute name="autoDisable" type="SFBool" default="false"/>
       
<xs:attribute name="constantForceMix" type="SFFloat" default="0.0001"/>
       
<xs:attribute name="contactSurfaceThickness" type="SFFloat" default="0"/>
       
<xs:attribute name="disableAngularSpeed" type="SFFloat" default="0"/>
       
<xs:attribute name="disableLinearSpeed" type="SFFloat" default="0"/>
       
<xs:attribute name="disableTime" default="0">
         
<!-- type="SFTimeNonNegative" -->
         
<xs:simpleType>
           
<xs:restriction base="SFTime">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="enabled" type="SFBool" default="true"/>
       
<xs:attribute name="errorCorrection" type="SFFloat" default="0.8"/>
       
<xs:attribute name="gravity" type="SFVec3f" default="0 -9.8 0"/>
       
<xs:attribute name="iterations" type="SFInt32" default="10"/>
       
<xs:attribute name="maxCorrectionSpeed" type="SFFloat" default="-1"/>
       
<xs:attribute name="preferAccuracy" type="SFBool" default="false"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
     
<!-- bboxDisplay, visible added in X3D version 4.0 -->
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute RigidBodyCollection/@autoDisable
type SFBool
properties
default false
source <xs:attribute name="autoDisable" type="SFBool" default="false"/>

attribute RigidBodyCollection/@constantForceMix
type SFFloat
properties
default 0.0001
source <xs:attribute name="constantForceMix" type="SFFloat" default="0.0001"/>

attribute RigidBodyCollection/@contactSurfaceThickness
type SFFloat
properties
default 0
source <xs:attribute name="contactSurfaceThickness" type="SFFloat" default="0"/>

attribute RigidBodyCollection/@disableAngularSpeed
type SFFloat
properties
default 0
source <xs:attribute name="disableAngularSpeed" type="SFFloat" default="0"/>

attribute RigidBodyCollection/@disableLinearSpeed
type SFFloat
properties
default 0
source <xs:attribute name="disableLinearSpeed" type="SFFloat" default="0"/>

attribute RigidBodyCollection/@disableTime
type restriction of SFTime
properties
default 0
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="disableTime" default="0">
 
<!-- type="SFTimeNonNegative" -->
 
<xs:simpleType>
   
<xs:restriction base="SFTime">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

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

attribute RigidBodyCollection/@errorCorrection
type SFFloat
properties
default 0.8
source <xs:attribute name="errorCorrection" type="SFFloat" default="0.8"/>

attribute RigidBodyCollection/@gravity
type SFVec3f
properties
default 0 -9.8 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="gravity" type="SFVec3f" default="0 -9.8 0"/>

attribute RigidBodyCollection/@iterations
type SFInt32
properties
default 10
source <xs:attribute name="iterations" type="SFInt32" default="10"/>

attribute RigidBodyCollection/@maxCorrectionSpeed
type SFFloat
properties
default -1
source <xs:attribute name="maxCorrectionSpeed" type="SFFloat" default="-1"/>

attribute RigidBodyCollection/@preferAccuracy
type SFBool
properties
default false
source <xs:attribute name="preferAccuracy" type="SFBool" default="false"/>

attribute RigidBodyCollection/@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