Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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:
    17
    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?