Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Box Collider for each other

Discussion in 'Physics' started by unity_408540137, Dec 7, 2022.

  1. unity_408540137

    unity_408540137

    Joined:
    Oct 23, 2022
    Posts:
    44
    Recently, I test the function of Box Collider.

    For example, Player wants to open a door.

    Which one should I add box coillider component to? In my test, I only add component to door not player.

    And I also find out that player needs to be added a character controller component rather than coillider in
    order to trigger open a door animation.

    That's the point confusing me.

    Or we just add box coillider to both of them, and toggle off the trigger of one of them?