docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SurfaceConstraintInfo

    Information about the surface constraint.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public struct SurfaceConstraintInfo

    Fields

    ColliderKey

    The collider key.

    Declaration
    public ColliderKey ColliderKey
    Field Value
    Type Description
    ColliderKey

    HitPosition

    The hit position.

    Declaration
    public float3 HitPosition
    Field Value
    Type Description
    float3

    IsMaxSlope

    True if is maximum slope, false if not.

    Declaration
    public bool IsMaxSlope
    Field Value
    Type Description
    bool

    IsTooSteep

    True if is too steep, false if not.

    Declaration
    public bool IsTooSteep
    Field Value
    Type Description
    bool

    Plane

    The Plane.

    Declaration
    public Plane Plane
    Field Value
    Type Description
    Plane

    Priority

    The priority.

    Declaration
    public int Priority
    Field Value
    Type Description
    int

    RigidBodyIndex

    The rigid body index.

    Declaration
    public int RigidBodyIndex
    Field Value
    Type Description
    int

    Touched

    True if touched.

    Declaration
    public bool Touched
    Field Value
    Type Description
    bool

    Velocity

    The velocity.

    Declaration
    public float3 Velocity
    Field Value
    Type Description
    float3
    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)