1st Person Mouse Look -- Blender Game Engine




 
  





11.  Connect the Python Controller to Both Motion Actuators

Both Camera and Player selected:  Object Mode

Buttons Window menu >> Logic (F4)
Pull wire from brass bump to brass dimple



12.  Optional:  Cap amount player can look up/down
 
Note:

Range is 0 degrees to 180 degrees

Note:
Property must be named Cap.  Can't be named Fred or cap or anything else.  The python code looks for a Property attached to the camera named Cap.

Add Property named Cap to the Camera
Buttons Window menu >> Logic (F4)
Add Property button
Type:  integer
Name:  Cap
Amount:  90


 
13.  Optional:  Invert the mouse pitch

Note:

Property must be named Invert.  Can't be named Fred or invert or anything else.  The python code looks for a Property attached to the camera named Invert.

Add Property named Invert to the Camera
Buttons Window menu >> Logic (F4)
Add Property button
Type:  Bool
Name:  Invert
Button:  True or False



  
Game developers can use the game engine to create casual video games, first and third person shooters, role playing games, racing simulations and more. The game engine can be used to make both 2D games and 3D games.  Beginning game developers will only need basic knowledge of game design and programming to create rich and complex game models with photo realistic textures to add detail to the graphics of the video game.  Today's games need more than good looking low polygon game models.  Use normal maps and photo realistic textures to create high quality game models.