docs.unity.cn
    Show / Hide Table of Contents

    Enum CollisionType

    The base type of a collider.

    Namespace: Unity.Physics
    Syntax
    public enum CollisionType : byte

    Fields

    Name Description Value
    Convex

    An enum constant representing the convex collision type.


    0
    Composite

    An enum constant representing the composite collision type.


    1
    Terrain

    An enum constant representing the collision type.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023