<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="xs:NMTOKEN" fixed="RigidBodyPhysics"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
</xs:appinfo>
<xs:documentation source="http://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" type="SFTime" default="0"/>
<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>
</xs:complexContent>
</xs:complexType>
</xs:element> |