Objective: Testing the types of sensors in the Game logic UI in Blender.
Materials: Blender, Mac/Pc
Methods: Open up Blender and navigate yourself to the Game logic screen layout. At the bottom of the screen where it says Sensors, pick a sensor of any kind to test it out. Make sure you have your cube selected so that the options at the bottom can appear. The default cube will do. For now, we will test the “Near” sensor. Select the “Near” sensor from the Add sensor drop box. After that, go to Controllers on the right and select And from the Add Controller drop box. As soon as you finish that, go to the Actuators and select any one you wish. Right now I am going to choose sound for the sake of this lab. After doing all of this steps, make sure you connect the sensor, controller, actuator together by clicking on a little circle that appears to the right of the drop boxes. Make sure you select a sound to open from any destination on the desktop by clicking on the open button where the sound actuator is. Keep in mind that if you move the sound file to another location besides the place you originally opened it, the sound won’t play.
Results: The cube plays a sound because of the near sensor. It plays a sound when the cube is near whatever property you set the near sensor to.
Discussion: After doing these steps, there is always more to do with sensors in the Game logic UI. It’s always fun to mess around with the other sensors besides just one.