opening a simple door

i created svi fi style doors that slide open and close. now how can i get them to open when i walk towards them?

Use triggers for that, onTriggerEnter you can open the door, and then you could close it OnTriggerExit.

You can create a trigger by setting the isTrigger variable on a collider.

Like teddemunnik said, have a trigger near the door (in the area you want the door to open) and maybe have an animation play when you enter the area. (make sure physics are animated or maybe have another collider thats not attached to the door toggle on and off with the trigger.

Or you could try sliding the doors using that translate function assuming that their separated from each other.