Search Unity

Question how to close an child entity physic,and not close another child entity physics?

Discussion in 'Physics for ECS' started by wechat_os_Qy0ymt0VfIq5ggbVh9p8HzHiU, Mar 22, 2023.

?

how to close an child entity physic,and not close another child entity physics?

  1. how to close an child entity physic,and not close another child entity physics?

    0 vote(s)
    0.0%
  2. how to close an child entity physic,and not close another child entity physics?

    1 vote(s)
    100.0%
  3. how to close an child entity physic,and not close another child entity physics?

    0 vote(s)
    0.0%
  1. wechat_os_Qy0ymt0VfIq5ggbVh9p8HzHiU

    wechat_os_Qy0ymt0VfIq5ggbVh9p8HzHiU

    Joined:
    Feb 12, 2021
    Posts:
    1
    I have a character object, a collider with a body, and a collider with a vision. I want to close the collider when the collider of a character touches the collider of the enemy's body, and stop attacking other enemies. After the enemy dies, open it again How can I realize the collider of the field of view?
    upload_2023-3-22_15-8-29.png
    upload_2023-3-22_15-8-43.png
    upload_2023-3-22_15-8-53.png