docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IContactEventHandler

    Namespace: Unity.Netcode.Components
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public interface IContactEventHandler

    Methods

    ContactEvent(ulong, Vector3, Rigidbody, Vector3, bool, Vector3)

    Declaration
    void ContactEvent(ulong eventId, Vector3 averagedCollisionNormal, Rigidbody collidingBody, Vector3 contactPoint, bool hasCollisionStay = false, Vector3 averagedCollisionStayNormal = default)
    Parameters
    Type Name Description
    ulong eventId
    Vector3 averagedCollisionNormal
    Rigidbody collidingBody
    Vector3 contactPoint
    bool hasCollisionStay
    Vector3 averagedCollisionStayNormal

    GetRigidbody()

    Declaration
    Rigidbody GetRigidbody()
    Returns
    Type Description
    Rigidbody
    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)