1st Person Mouse Look -- Blender Game Engine


 
pageok




1.  Positon player (the default cube)

Note:
For this example we'll be using the default Cube as the 'Player'.  Positive Y-axis is the front of the player.

Select Cube:  Object Mode

Position the player
Transform Properties
N key
or
3D View menu >> Object >> Transform Properties
LocX = 0.0
LocY = 0.0
LocZ = 2.0

Orient the player
Transform Properties
N key
or
3D View menu >> Object >> Transform Properties
RotX = 0.0
RotY = 0.0
RotZ = 0.0



2.  Positon camera over the player (cube)

Note:
For this example we'll be using the default camera as the 1st Person camera.  We'll orient it so it looks in the same direction that the player does.  (Player positive Y-axis.)

Select Camera:  Object Mode

Position the camera
Transform Properties
N key
or
3D View menu >> Object >> Transform Properties
LocX = 0.0
LocY = 0.0
LocZ = 5.0

Orient the camera so it looks the same way the player faces.
Transform Properties
N key
or
3D View menu >> Object >> Transform Properties
RotX = 90.0
RotY = 0.0
RotZ = 0.0



  
pageok