objective: learn about the controllers in Blender
materials:
- logic editor
- keyboard sensor
- AND controller
- visibility actuator
- OR controller
- motion actuator
- XOR controller
methods:
- enable logic editor
- add keyboard sensor – set key to spacebar
- add AND controller
- add visibility actuator – uncheck visible
- duplicate steps 2-4
- replace second AND controller to NOR
- keep visible checked on second visibility actuator
- add game property – set type to bool
- on both keyboard sensors – set log toggle to the bool game property
- change visibility actuator to motion
- set loc Y value to .1
- set keyboard sensor to tap
- remove duplicate sensor, controller, and actuator
- change controller to AND
- change key (in keyboard sensor) to right arrow
- create second keyboard sensor
- set second keyboard sensor key to left arrow
- create third motion actuator
- set Z rotation to 10
results: I was able to play with new controllers (OR and XOR) and a new actuator (motion). As a result of the many methods, I was able to move a cube on the X, Y, Z axis, rotate it, and change the visibility state.
discussion: fortunately, nothing went wrong this time. next steps are going to be learning more about the actuators blender has.