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. Dismiss Notice

How do I make it so that when my player (has rigid body) walks into a door (has rigid body) to open?

Discussion in 'Editor & General Support' started by Flaky, Aug 18, 2015.

  1. Flaky

    Flaky

    Joined:
    Oct 23, 2013
    Posts:
    19
    I already have the player, and door rigid bodys attatched as well as the hinge setup properly, but how it won't work. What do I do?
     
  2. jylehr

    jylehr

    Joined:
    Apr 21, 2015
    Posts:
    5
    If I were you, I might consider using some kind of OnTriggerEnter event to make the door open. Otherwise the only things i can think of are that your player is not using enough force to push (either he is too slow or he is too light) or that the door is too heavy. Also make sure the door is not kinematic.