Search Unity

Question XRBaseInteractable and Colliders change runtime

Discussion in 'XR Interaction Toolkit and Input' started by HardisGroupBAG, Sep 14, 2021.

  1. HardisGroupBAG

    HardisGroupBAG

    Joined:
    Jun 3, 2019
    Posts:
    6
    Hello everybody,

    In runtime, on a Interactable containing many colliders, I'd like to remove / disable some colliders, but It seems to cause problem if the hand is hovering the collider at the same time : the hand disapears when wanting to grab something (the other hand is ok).

    Could the colliders list be redefinable ?

    In my example, it should be to remove 2 of the "flaps" colliders
     

    Attached Files: