Logic Tutorial: Door



To make this logic you need:


 * Models (Close and Open Door)


 * Pressure Plate


 * Cube Model Hider (2x)


 * Negate Cube

Closed Door

 * Place the door model.


 * Clone it and rotate to make door position to close and open.


 * Place a Pressure Plate on the floor, close to the door.


 * Click on blue trigger of Pressure Plate and connect it to red trigger of Negate Cube.


 * After, connect the blue trigger of Negate Cube to the red trigger of Cube Model Hider.


 * Connect the yellow trigger of Cube Model Hider to the CLOSED door model.

Opened Door

 * With the same Pressure Plate, click in blue trigger of it and connect it to red trigger of new Cube Model Hider.
 * Connect the blue trigger of the Cube Model Hider to the OPEN door model.
 * Check that you did not mix up the cubes.

Explaining
In this logic the deny cube connected to the Model Hider will bring the possibility of making a hidden object when activated. Since only the Model Hider without deny cube connected, will bring the possibility of making visible object.

That is,

Negative Cube + Cube Model Hider = Closed Door

Cube Model Hider = Open Door

Videos
bGVpSs0aZms clXw5XEN3Hk