docs.unity.cn
    Show / Hide Table of Contents

    Struct ContactPoint

    A contact point in a manifold. All contacts share the same normal.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics
    Syntax
    public struct ContactPoint

    Fields

    Distance

    Separating distance along the manifold normal.

    Declaration
    public float Distance
    Field Value
    Type Description
    Single

    Position

    World space position on object B.

    Declaration
    public float3 Position
    Field Value
    Type Description
    float3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023