Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Feature Request A simple function to disable a child collider

Discussion in 'Physics for ECS' started by gmentat, Feb 23, 2023.

  1. gmentat

    gmentat

    Joined:
    Nov 12, 2012
    Posts:
    15
    I'm trying to disable a child collider of a dynamic body composed of multiple box colliders.

    It sounds like a simple task, but I haven't found a simple solution yet.

    For example, a body has two meshes and two colliders, each with a PhysicsRenderEntity component (or simply a child of the body GameObject). How do I disable or destroy one of the colliders, along with the associated mesh?
     
  2. JosepMariaPujol

    JosepMariaPujol

    Unity Technologies

    Joined:
    Jun 16, 2021
    Posts:
    89
    Sounds legit feature request. Added to the backlog. Thank you!
     
    gmentat likes this.