
7. Add a Sensor
- Select Cube
- Logic Editor >> Sensors >> Add Sensor >> Keyboard
- Key >> Spacebar
Note:
-
For this tutorial, I'm using an Spacebar Keyboard sensor.

8. Add a Controller
- Logic Editor >> Controllers >> Add Controller >> And
Note:
- For this tutorial, I'm using an And Controller.

9. Add a Replace Mesh Actuator
-
Logic Editor >> Actuators >> Add Actuator >> Edit Object
-
Edit Object selection box >> Replace Mesh
Note:
-
Replace Mesh is a part of the Edit Object Actuator
-
The Replace Mesh Actuator has to be on the Object that is having it's mesh replaced