tisdag 19 maj 2015

Camera and movement in environment

We have been starting to work on setting up a decent view with the camera and starting to figure out how we want it to be. We're going for a third person view that should follow our player/avatar around in the environment. We found some good tutorials to this and manage to set up some scripts for us.

A CameraController that makes us take the offset between the camera and the tracket target which is the player:

 Class setup for Player movement with input from the arrow keys or WASD, that let us move the player in x and z plane (horizontally and vertically):



Videos coming of this coming soon.

Inga kommentarer:

Skicka en kommentar