element CollisionCollection

diagram |
type | extension of X3DChildNode
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 appliedParametersChoices. 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 |  |
bboxCenter | SFVec3f |  | 0 0 0 |  |
bboxSize | bboxSizeType |  | -1 -1 -1 |  |
visible | SFBool |  | true |  |
containerField | xs:NMTOKEN |  | collider |  |
annotation |
appinfo
<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/> <xs:attribute name="appliedParameters" type="appliedParametersChoices"/> <xs:element name="collidables" type="MFNode" fixed="inputOutputField" default="X3DNBodyCollisionSpaceNode|X3DNBodyCollidableNode"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> CollisionCollection holds a collection of objects that can be managed as a single entity for resolution of inter-object collisions.
source | <xs:element name="CollisionCollection"> <xs:annotation> <xs:appinfo> <xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/> <xs:attribute name="appliedParameters" type="appliedParametersChoices"/> <xs:element name="collidables" type="MFNode" fixed="inputOutputField" default="X3DNBodyCollisionSpaceNode|X3DNBodyCollidableNode"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> CollisionCollection holds a collection of objects that can be managed as a single entity for resolution of inter-object collisions. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#CollisionCollection"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DChildNode"> <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 appliedParametersChoices. 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="bboxCenter" type="SFVec3f" default="0 0 0"/> <xs:attribute name="bboxSize" type="bboxSizeType" default="-1 -1 -1"/> <xs:attribute name="visible" type="SFBool" default="true"/> <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 appliedParametersChoices. 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 appliedParametersChoices. 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 | \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){1}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
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 | \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){1}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
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 | \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){1}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s* |
source | <xs:attribute name="surfaceSpeed" type="SFVec2f" default="0 0"/>

attribute CollisionCollection/@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 CollisionCollection/@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 CollisionCollection/@visible

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

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