docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Arch

    The basic arch shape is a curved symmetrical shape (see A in the image below). You can customize the basic arch shape to create tunnels, pipes, roofs, and many other objects.

    Arch shapes

    (A) Roof: arch with two sides and increased depth

    (B) Wheel: arch with increased number of sides, thickness and degrees (and no end cap)

    (C) Basic arch shape (default values)

    (D) Tunnel: Arch with increased depth and thickness

    When you customize an arch shape, keep in mind that when you change the thickness and number of sides, it is relative to the overall size and circumference. For example, two arches with the same thickness but where one arch is twice as long as the other look very different. The shorter one appears much smoother than the other.

    You can customize the shape of an arch with these shape-specific properties:

    Property: Description:
    Thickness Set the thickness of the arch in meters. The larger the thickness, the smaller the opening becomes. The default value is 0.1. The minimum value is 0.01.
    Sides Count Set the number of sides for the arch. The more sides you use (relative to the size of the Radius), the smoother the arch becomes, so the closer you get to a semi-circle. Conversely, if you set this value to 2, the arch turns into a peaked roof, regardless of the radius. The default value is 5. Valid values range from 2 to 200.
    Arch Circumference Set the circumference of the arch in degrees. For example, an arch of 360 degrees is circular. The default value is 180. Valid values range from 1 to 360.
    End Caps Enable this option to create faces for the ends of the arch (default).

    Disable this option if you know the ends are not visible to the camera (this is an optimization strategy that reduces the number of polygons that Unity has to render).
    Smooth Enable this option to smooth the edges of the polygons. This property is enabled by default.
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)