pageok

  

Simple Movement -- Blender 3D Game Engine








  
1
Player Object Type -- Dynamic

Select Player (Cube)
Buttons Window menu >> Logic (F4)
Object Type:  Dynamic

  
2
Add a Keyboard sensor: W key

Note:
For this tutorial, I'm using the W key for forward movement

Note:
This tutorial uses States and a NOR Controller.  Because we are using the NOR Controller, we can't use the Sensor Level button to carry a key press from one State to the next.  Instead, we have to use TRUE level triggering to check if a key is being pressed when it switches States.

Buttons Window menu >> Logic (F4)
Sensors Add
Keyboard Sensor
TRUE level triggering: enabled
Key: W key

 
   
3
Add an AND controller

Buttons Window menu >> Logic (F4)
Controllers Add
AND Controller



   




 
pageok