docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics
    Assembly: Unity.Physics.dll
    Syntax
    public struct ContactPoint

    Fields

    Distance

    Separating distance along the manifold normal.

    Declaration
    public float Distance
    Field Value
    Type Description
    float

    Position

    World space position on object B.

    Declaration
    public float3 Position
    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)