Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Hinge Joint not interacting with Character Controller

Discussion in 'Physics' started by Deleted User, Sep 18, 2020.

  1. Deleted User

    Deleted User

    Guest

    Hello, viewer! I'm trying to make a "Door" interact with my character (using Character Controller), but the door completely Static (using Hinge Joint)!!
     
    Last edited by a moderator: Sep 18, 2020
  2. LemonMontage420

    LemonMontage420

    Joined:
    May 28, 2020
    Posts:
    56
    You need to use a rigidbody character controller in order to interact with a joint. Assuming you want to keep the standard character controller, you could maybe make an empty with a rigidbody (with gravity turned off) and a sphere collider spawn in front of the player when you're in range of a door, and make the empty's collider only interact with the door, and make it ignore all other collisions.
     
    berat230 and kyrilloosterveenbva like this.