1st Person Mouse Look -- Blender Game Engine


  



5.  Add MouseLook.py to the Text Editor

Note:
If you downloaded either the starting blend or the finished blend, you can find MouseLook.py in the Text Editor.  

Download:

Text Editor menu >> Text >> Open
Rename MouseLook.txt to MouseLook.py

 

6.  Add a Mouse Movement Sensor named MouseLook to Camera

Note:
Sensor must be named MouseLook.  Can't be named Fred or mouselook or anything else.  The python code looks for sensor attached to the camera named MouseLook.

Select Camera:  Object mode

Buttons Window menu >> Logic (F4)
Sensors
Add
Mouse
Movement
Name the Mouse Movement Sensor
Name it: MouseLook

 
 
7.  Add a Python Controller:  Use MouseLook.py

Camera selected:  Object Mode

Buttons Window menu >> Logic (F4)
Controllers
Add
Python
Script:  MouseLook.py

 

  
Download free seamless game textures or you can create your own seamless game textures. Use reference photos to add realism to the seamless texture you create. Textures let you create the style and mood for your computer game. Textures are a way to add detail and color to 3D graphics. Photo realistic textures add realism. Download free game models for your video game or create your own game models. Use the game models in First Person Shooter, role playing games, racing simulations and more. Download free textures to add detail to your game models. You can use the free game models you downloaded or model your own game models.