DoubleAxisHingeJoint

Element Information

Model

Attributes

Used By

Source

<xs:element name="DoubleAxisHingeJoint">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="body1AnchorPoint" type="SFVec3f" fixed="outputOnlyField"/>
      <xs:attribute name="body1Axis" type="SFVec3f" fixed="outputOnlyField"/>
      <xs:attribute name="body2AnchorPoint" type="SFVec3f" fixed="outputOnlyField"/>
      <xs:attribute name="body2Axis" type="SFVec3f" fixed="outputOnlyField"/>
      <xs:attribute name="hinge1Angle" type="SFFloat" fixed="outputOnlyField"/>
      <xs:attribute name="hinge1AngleRate" type="SFFloat" fixed="outputOnlyField"/>
      <xs:attribute name="hinge2Angle" type="SFFloat" fixed="outputOnlyField"/>
      <xs:attribute name="hinge2AngleRate" type="SFFloat" fixed="outputOnlyField"/>
      <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#DoubleAxisHingeJoint"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DRigidJointNode">
        <xs:attribute name="anchorPoint" type="SFVec3f" default="0 0 0"/>
        <xs:attribute name="axis1" type="SFVec3f" default="0 0 0"/>
        <xs:attribute name="axis2" type="SFVec3f" default="0 0 0"/>
        <xs:attribute name="desiredAngularVelocity1" type="SFFloat" default="0"/>
        <xs:attribute name="desiredAngularVelocity2" type="SFFloat" default="0"/>
        <xs:attribute name="maxAngle1" type="SFFloat" default="3.141592653"/>
        <xs:attribute name="maxTorque1" type="SFFloat" default="0"/>
        <xs:attribute name="maxTorque2" type="SFFloat" default="0"/>
        <xs:attribute name="minAngle1" type="SFFloat" default="-3.141592653"/>
        <xs:attribute name="stop1Bounce" type="SFFloat" default="0"/>
        <xs:attribute name="stop1ConstantForceMix" type="SFFloat" default="0.001"/>
        <xs:attribute name="stop1ErrorCorrection" type="SFFloat" default="0.8"/>
        <xs:attribute name="suspensionErrorCorrection" type="SFFloat" default="0.8"/>
        <xs:attribute name="suspensionForce" type="SFFloat" default="0"/>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="joints"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample