Hi, all. I am trying to build a unicursal maze as a my dissertation project by using Blender. I have a door and a player in the game, and my main goal is once the player pass through the door, close the door,and avoid to open the door again if the player tries to pass back again from the opposite side of the wall.I have set a animation of door which open and close it, and also set a game logic using near sensor and action actuator.
However, as far as using this function, the door open when the player comes back to the door from the opposite side.
So I would like to ask you to tell me how to realize this.
Or any python code would be also appreciate for it.
I have attached a screen shot of my case, and I would like receive your help into how should I configure the sensors and actuators for this case?