diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Sphere Box Cone CollidableOffset CollidableShape ProtoInstance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="RigidBody"> <xs:annotation> <xs:appinfo> <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/documents/specifications/19775-1/V3.3/Part01/components/rigid_physics.html#RigidBody"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DNode"> <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="position" type="SFVec3f" default="0 0 0"/> <xs:attribute name="orientation" type="SFRotation" default="0 0 1 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="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> <!-- bboxDisplay, visible added in X3D version 4.0 --> </xs:complexContent> </xs:complexType> </xs:element> |
type | SFFloat | ||
properties |
|
||
source | <xs:attribute name="angularDampingFactor" type="SFFloat" default="0.001"/> |
type | SFVec3f | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="angularVelocity" type="SFVec3f" default="0 0 0"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="autoDamp" type="SFBool" default="false"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="autoDisable" type="SFBool" default="false"/> |
type | SFVec3f | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="centerOfMass" type="SFVec3f" default="0 0 0"/> |
type | SFFloat | ||
properties |
|
||
source | <xs:attribute name="disableAngularSpeed" type="SFFloat" default="0"/> |
type | SFFloat | ||
properties |
|
||
source | <xs:attribute name="disableLinearSpeed" type="SFFloat" default="0"/> |
type | restriction of SFTime | ||||||
properties |
|
||||||
facets |
|
||||||
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> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="enabled" type="SFBool" default="true"/> |
type | SFVec3f | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="finiteRotationAxis" type="SFVec3f" default="0 1 0"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="fixed" type="SFBool" default="false"/> |
type | MFVec3f | |||||||||
facets |
|
|||||||||
source | <xs:attribute name="forces" type="MFVec3f"/> |
type | SFMatrix3f | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="inertia" type="SFMatrix3f" default="1 0 0 0 1 0 0 0 1"/> |
type | SFFloat | ||
properties |
|
||
source | <xs:attribute name="linearDampingFactor" type="SFFloat" default="0.001"/> |
type | SFVec3f | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="linearVelocity" type="SFVec3f" default="0 0 0"/> |
type | SFFloat | ||
properties |
|
||
source | <xs:attribute name="mass" type="SFFloat" default="1"/> |
type | SFVec3f | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="position" type="SFVec3f" default="0 0 0"/> |
type | SFRotation | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="orientation" type="SFRotation" default="0 0 1 0"/> |
type | MFVec3f | |||||||||
facets |
|
|||||||||
source | <xs:attribute name="torques" type="MFVec3f"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="useFiniteRotation" type="SFBool" default="false"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="useGlobalGravity" type="SFBool" default="true"/> |
type | restriction of xs:NMTOKEN | ||||||||||||
properties |
|
||||||||||||
facets |
|
||||||||||||
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> |