element RigidBody

diagram |
type | extension of X3DChildNode
properties |
content | complex
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Sphere Box Cone CollidableOffset CollidableShape ProtoInstance
used by |
element | Contact
groups | RigidBodyCollectionContentModel RigidJointNodeContentModel 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. 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.
angularDampingFactor | SFFloat |  | 0.001 |  |
angularVelocity | SFVec3f |  | 0 0 0 |  |
autoDamp | SFBool |  | false |  |
autoDisable | SFBool |  | false |  |
centerOfMass | SFVec3f |  | 0 0 0 |  |
disableAngularSpeed | SFFloat |  | 0 |  |
disableLinearSpeed | SFFloat |  | 0 |  |
disableTime | derived by: SFTime |  | 0 |  |
enabled | SFBool |  | true |  |
finiteRotationAxis | SFVec3f |  | 0 1 0 |  |
fixed | SFBool |  | false |  |
forces | MFVec3f |  |  |  |
inertia | SFMatrix3f |  | 1 0 0 0 1 0 0 0 1 |  |
linearDampingFactor | SFFloat |  | 0.001 |  |
linearVelocity | SFVec3f |  | 0 0 0 |  |
mass | SFFloat |  | 1 |  |
orientation | SFRotation |  | 0 0 1 0 |  |
position | SFVec3f |  | 0 0 0 |  |
torques | MFVec3f |  |  |  |
useFiniteRotation | SFBool |  | false |  |
useGlobalGravity | SFBool |  | true |  |
bboxCenter | SFVec3f |  | 0 0 0 |  |
bboxSize | bboxSizeType |  | -1 -1 -1 |  |
bboxDisplay | SFBool |  | false |  |
visible | SFBool |  | true |  |
containerField | derived by: xs:NMTOKEN |  | bodies |  |
annotation |
appinfo
<xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/> <xs:element name="geometry" type="MFNode" fixed="inputOutputField" default="X3DNBodyCollidableNode"/> <xs:element name="massDensityModel" type="SFNode" fixed="inputOutputField" default="Sphere|Box|Cone"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> RigidBody describes a collection of shapes with a mass distribution that is affected by the physics model.
source | <xs:element name="RigidBody"> <xs:annotation> <xs:appinfo> <xs:attribute name="additionalInterface" type="xs:string" default="X3DBoundedObject"/> <xs:element name="geometry" type="MFNode" fixed="inputOutputField" default="X3DNBodyCollidableNode"/> <xs:element name="massDensityModel" type="SFNode" fixed="inputOutputField" default="Sphere|Box|Cone"/> <xs:attribute name="componentName" type="componentNameChoices" fixed="RigidBodyPhysics"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> RigidBody describes a collection of shapes with a mass distribution that is affected by the physics model. </xs:appinfo> <xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/rigidBodyPhysics.html#RigidBody"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DChildNode"> <xs:group ref="RigidBodyContentModel" minOccurs="0"/> <xs:attribute name="angularDampingFactor" type="SFFloat" default="0.001"/> <xs:attribute name="angularVelocity" type="SFVec3f" default="0 0 0"/> <xs:attribute name="autoDamp" type="SFBool" default="false"/> <xs:attribute name="autoDisable" type="SFBool" default="false"/> <xs:attribute name="centerOfMass" type="SFVec3f" default="0 0 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="finiteRotationAxis" type="SFVec3f" default="0 1 0"/> <xs:attribute name="fixed" type="SFBool" default="false"/> <xs:attribute name="forces" type="MFVec3f"/> <xs:attribute name="inertia" type="SFMatrix3f" default="1 0 0 0 1 0 0 0 1"/> <xs:attribute name="linearDampingFactor" type="SFFloat" default="0.001"/> <xs:attribute name="linearVelocity" type="SFVec3f" default="0 0 0"/> <xs:attribute name="mass" type="SFFloat" default="1"/> <xs:attribute name="orientation" type="SFRotation" default="0 0 1 0"/> <xs:attribute name="position" type="SFVec3f" default="0 0 0"/> <xs:attribute name="torques" type="MFVec3f"/> <xs:attribute name="useFiniteRotation" type="SFBool" default="false"/> <xs:attribute name="useGlobalGravity" type="SFBool" default="true"/> <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" default="bodies"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="body1"/> <xs:enumeration value="body2"/> <xs:enumeration value="bodies"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element>

attribute RigidBody/@angularDampingFactor

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

attribute RigidBody/@angularVelocity

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

attribute RigidBody/@autoDamp

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

attribute RigidBody/@autoDisable

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

attribute RigidBody/@centerOfMass

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

attribute RigidBody/@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 RigidBody/@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 RigidBody/@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 RigidBody/@enabled

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

attribute RigidBody/@finiteRotationAxis

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

attribute RigidBody/@fixed

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

attribute RigidBody/@forces

type | MFVec3f
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*,?\s*)* |
source | <xs:attribute name="forces" type="MFVec3f"/>

attribute RigidBody/@inertia

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

attribute RigidBody/@linearDampingFactor

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

attribute RigidBody/@linearVelocity

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

attribute RigidBody/@mass

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="mass" type="SFFloat" default="1"/>

attribute RigidBody/@orientation

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

attribute RigidBody/@position

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

attribute RigidBody/@torques

type | MFVec3f
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*,?\s*)* |
source | <xs:attribute name="torques" type="MFVec3f"/>

attribute RigidBody/@useFiniteRotation

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

attribute RigidBody/@useGlobalGravity

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

attribute RigidBody/@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 RigidBody/@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 RigidBody/@bboxDisplay

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

attribute RigidBody/@visible

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

attribute RigidBody/@containerField

type | restriction of xs:NMTOKEN
properties |
default | bodies
facets |
Kind | Value | Annotation
enumeration | body1 |
enumeration | body2 |
enumeration | bodies |
source | <xs:attribute name="containerField" default="bodies"> <xs:simpleType> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="body1"/> <xs:enumeration value="body2"/> <xs:enumeration value="bodies"/> </xs:restriction> </xs:simpleType> </xs:attribute>

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