docs.unity3d.com
    Show / Hide Table of Contents

    Interface ISimulationEvent<T>

    An event raised when a pair of bodies interact during solving.

    Namespace: Unity.Physics
    Syntax
    public interface ISimulationEvent<T> : IComparable<T>
    Type Parameters
    Name Description
    T

    Properties

    BodyIndexA

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

    BodyIndexB

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

    ColliderKeyA

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

    ColliderKeyB

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

    EntityA

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

    EntityB

    Declaration
    Entity EntityB { get; }
    Property Value
    Type Description
    Entity
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023