Search Unity

Character opening door problem

Discussion in 'Animation' started by Styrwirld, Oct 28, 2013.

  1. Styrwirld

    Styrwirld

    Joined:
    Sep 26, 2013
    Posts:
    12
    Hello, I have a question about this, for example I want my character to open a door, How can i achieve this? wich is the best way?

    I mean, should I need to do an animation of the character opening the door?
    or I can just animate in Unity?
    Can I do it without an animation?

    Im sorry Im really lost with this.

    Thanks in advance.
     
  2. Archania

    Archania

    Joined:
    Aug 27, 2010
    Posts:
    1,662
    You can do a OncolliderEnter/Exit. There are a ton of information if you do a Google search - "Unity opening a door".
    You can do the animation in Unity for the doors or you can do it outside of Unity. It is up to you.
    So I suggest searching a little and watch/read some stuff. It might take a little bit but at least try and come up with something and then if you are still having a problem come back and post where your problem is.

    http://answers.unity3d.com/questions/356637/script-for-door-opening-and-closing.html

    http://unity3d.com/learn/tutorials/projects/stealth/single-doors

    https://www.google.com/search?q=uni...1&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8