attachment

Defines an attachment to a rigid-body or a node.

Element Information

Model

Children: extra, rotate, translate

Attributes

QName Type Fixed Default Use Inheritable Annotation
rigid_body xs:anyURI optional
The "rigid_body" attribute is a relative reference to a rigid-body within the same physics_model.

Source

<xs:element name="attachment">
  <xs:annotation>
    <xs:documentation>Defines an attachment to a rigid-body or a node.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="translate" type="translate_type">
          <xs:annotation>
            <xs:documentation>Allows you to "position" the attachment point.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="rotate" type="rotate_type">
          <xs:annotation>
            <xs:documentation>Allows you to "position" the attachment point.</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
      <xs:element name="extra" type="extra_type" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>The extra element may appear any number of times.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="rigid_body" type="xs:anyURI">
      <xs:annotation>
        <xs:documentation>The "rigid_body" attribute is a relative reference to a rigid-body within the same physics_model.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample