automatic door open

hi,
I have a scene with a room and doors, I would like navigating in the first person I approach a door that opens automatically,
how can I do?
thanks :wink:

If I recally correctly the FPS tutorial has the exact solution to this.

I think it’s in the first one.

The tutorials on here really are quite good. You should check them out.

ho letto il tutorial ma non ho trovato la soluzione…
help :cry:

ohh sorry!!!

I read the tutorial but I have not found the solution … :lol:

Put a script in your door for ‘open’ and ‘close.’ Then create an empty game object and make it a child of the door. Add a box collider to that object and set it as a trigger. Add a script to that object that includes OnTriggerEnter which tells the door script to ‘open’ and OnTriggerExit which tells the door script to ‘close.’

ok, in XSI (Softimage XSI use) I have to create the animation of the door?,
export the animation and add the script to animation in Unity?