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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Two objects with Character Controller components run over each other

Discussion in 'Physics' started by redfox601, Mar 20, 2023.

  1. redfox601

    redfox601

    Joined:
    Jan 15, 2022
    Posts:
    16
    Hi everyone!
    There are two Gameobjects. Each has a Character Controller component. When approaching, one begins to walk on top of the other. But that's not what I need. The options that suit me are:
    1. An object stops when it collides with another object.
    2. The object pushes another object.
    3. The object passes through another object.
    How to achieve these options and make sure that the object does not climb on another?