docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CompoundCollider.ColliderBlobInstance

    Input to the compound collider creation function Create(NativeArray<ColliderBlobInstance>). Represents one child of the compound collider and its local transformation relative to the compound collider.

    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 CompoundCollider.ColliderBlobInstance

    Fields

    Collider

    The child collider.

    Declaration
    public BlobAssetReference<Collider> Collider
    Field Value
    Type Description
    BlobAssetReference<Collider>

    CompoundFromChild

    The child transform relative to the compound collider.

    Declaration
    public RigidTransform CompoundFromChild
    Field Value
    Type Description
    RigidTransform

    Entity

    The Unity.Entities.Entity that this Child is associated with. Default value is Unity.Entities.Entity.Null.

    If creating a CompoundCollider manually using Create(NativeArray<ColliderBlobInstance>), you can set this field to any value you want and interpret it the way you want to.

    Declaration
    public Entity Entity
    Field Value
    Type Description
    Entity
    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)