docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ModifiableContactHeader

    A modifiable contact header.

    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 ModifiableContactHeader

    Properties

    BodyIndexA

    Gets the body index a.

    Declaration
    public int BodyIndexA { get; }
    Property Value
    Type Description
    int

    The body index a.

    BodyIndexB

    Gets the body index b.

    Declaration
    public int BodyIndexB { get; }
    Property Value
    Type Description
    int

    The body index b.

    CoefficientOfFriction

    Gets or sets the coefficient of friction.

    Declaration
    public float CoefficientOfFriction { get; set; }
    Property Value
    Type Description
    float

    The coefficient of friction.

    CoefficientOfRestitution

    Gets or sets the coefficient of restitution.

    Declaration
    public float CoefficientOfRestitution { get; set; }
    Property Value
    Type Description
    float

    The coefficient of restitution.

    ColliderKeyA

    Gets the collider key a.

    Declaration
    public ColliderKey ColliderKeyA { get; }
    Property Value
    Type Description
    ColliderKey

    The collider key a.

    ColliderKeyB

    Gets the collider key b.

    Declaration
    public ColliderKey ColliderKeyB { get; }
    Property Value
    Type Description
    ColliderKey

    The collider key b.

    CustomTagsA

    Gets the custom tags a.

    Declaration
    public byte CustomTagsA { get; }
    Property Value
    Type Description
    byte

    The custom tags a.

    CustomTagsB

    Gets the custom tags b.

    Declaration
    public byte CustomTagsB { get; }
    Property Value
    Type Description
    byte

    The custom tags b.

    EntityA

    Gets the entity a.

    Declaration
    public Entity EntityA { get; }
    Property Value
    Type Description
    Entity

    The entity a.

    EntityB

    Gets the entity b.

    Declaration
    public Entity EntityB { get; }
    Property Value
    Type Description
    Entity

    The entity b.

    JacobianFlags

    Gets or sets the jacobian flags.

    Declaration
    public JacobianFlags JacobianFlags { get; set; }
    Property Value
    Type Description
    JacobianFlags

    Options that control the jacobian.

    Modified

    Gets a value indicating whether this object is modified.

    Declaration
    public readonly bool Modified { get; }
    Property Value
    Type Description
    bool

    True if modified, false if not.

    Normal

    Gets or sets the normal.

    Declaration
    public float3 Normal { get; set; }
    Property Value
    Type Description
    float3

    The normal.

    NumContacts

    Gets the number of contacts.

    Declaration
    public int NumContacts { get; }
    Property Value
    Type Description
    int

    The total number of contacts.

    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)