docs.unity3d.com
    Show / Hide Table of Contents

    Enum ColliderType

    The concrete type of a collider.

    Namespace: Unity.Physics
    Syntax
    public enum ColliderType : byte

    Fields

    Name Description Value
    Convex

    An enum constant representing the convex collider type.


    0
    Sphere

    An enum constant representing the sphere collider type.


    1
    Capsule

    An enum constant representing the capsule collider type.


    2
    Triangle

    An enum constant representing the triangle collider type.


    3
    Quad

    An enum constant representing the quad collider type.


    4
    Box

    An enum constant representing the box collider type.


    5
    Cylinder

    An enum constant representing the cylinder collider type.


    6
    Mesh

    An enum constant representing the mesh collider type.


    7
    Compound

    An enum constant representing the compound collider type.


    8
    Terrain

    An enum constant representing the terrain collider type.


    9
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023