docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsCompoundData

    Component that specifies data relating to compound colliders and blobs. Note that all colliders will have this component. The presence of this component indicates that this collider is a root of a collider, which may or may not be a compound.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics.Authoring
    Assembly: Unity.Physics.Hybrid.dll
    Syntax
    [BakingType]
    public struct PhysicsCompoundData : IComponentData, IQueryTypeParameter

    Fields

    AssociateBlobToBody

    Indicates if a blob is associated to a collider

    Declaration
    public bool AssociateBlobToBody
    Field Value
    Type Description
    bool

    ConvertedBodyInstanceID

    Instance ID of the GameObject associated with the body

    Declaration
    public int ConvertedBodyInstanceID
    Field Value
    Type Description
    int

    DeferredCompoundBlob

    A flag to indicate that calculation of a compound blob should be deferred

    Declaration
    public bool DeferredCompoundBlob
    Field Value
    Type Description
    bool

    Hash

    A hash associated with a compound collider

    Declaration
    public Hash128 Hash
    Field Value
    Type Description
    Hash128

    RegisterBlob

    A flag to indicate that a compound collider has been calculated

    Declaration
    public bool RegisterBlob
    Field Value
    Type Description
    bool

    Implements

    IComponentData
    IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2025 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)