element RigidBodyCollection

diagram |
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. This attribute is only functional if the X3D model is loaded within an HTML page.
id | xs:NMTOKEN |  |  |  |
appinfo
The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing. This attribute is only functional if the X3D model is loaded within an HTML page.
style | SFString |  |  |  |
appinfo
The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets. This attribute is only functional if the X3D model is loaded within an HTML page.
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 |  |
bboxCenter | SFVec3f |  | 0 0 0 |  |
bboxSize | bboxSizeType |  | -1 -1 -1 |  |
bboxDisplay | SFBool |  | false |  |
visible | SFBool |  | true |  |
containerField | xs:NMTOKEN |  | children |  |
annotation |
appinfo
<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/> <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:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/> <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/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/rigidBodyPhysics.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="bboxCenter" type="SFVec3f" default="0 0 0"/> <xs:attribute name="bboxSize" type="bboxSizeType" default="-1 -1 -1"/> <xs:attribute name="bboxDisplay" type="SFBool" default="false"/> <xs:attribute name="visible" type="SFBool" default="true"/> <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> </xs:extension> </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
facets |
Kind | Value | Annotation
pattern | \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
source | <xs:attribute name="constantForceMix" type="SFFloat" default="0.0001"/>

attribute RigidBodyCollection/@contactSurfaceThickness

type | SFFloat
properties |
default | 0
facets |
Kind | Value | Annotation
pattern | \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
source | <xs:attribute name="contactSurfaceThickness" type="SFFloat" default="0"/>

attribute RigidBodyCollection/@disableAngularSpeed

type | SFFloat
properties |
default | 0
facets |
Kind | Value | Annotation
pattern | \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
source | <xs:attribute name="disableAngularSpeed" type="SFFloat" default="0"/>

attribute RigidBodyCollection/@disableLinearSpeed

type | SFFloat
properties |
default | 0
facets |
Kind | Value | Annotation
pattern | \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
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
facets |
Kind | Value | Annotation
pattern | \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
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
facets |
Kind | Value | Annotation
pattern | \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
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/@bboxCenter

type | SFVec3f
properties |
default | 0 0 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="bboxCenter" type="SFVec3f" default="0 0 0"/>

attribute RigidBodyCollection/@bboxSize

type | bboxSizeType
properties |
default | -1 -1 -1
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*)|((\-1(\.(0)*)?([Ee][+-]?[0]+)?\s+){2}\-1(\.(0)*)?([Ee][+-]?[0]+)?)\s*)? |
source | <xs:attribute name="bboxSize" type="bboxSizeType" default="-1 -1 -1"/>

attribute RigidBodyCollection/@bboxDisplay

type | SFBool
properties |
default | false
source | <xs:attribute name="bboxDisplay" type="SFBool" default="false"/>

attribute RigidBodyCollection/@visible

type | SFBool
properties |
default | true
source | <xs:attribute name="visible" type="SFBool" default="true"/>

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