public class FPSInput : MonoBehaviour {
public float speed = 6.0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
float deltaX = Input.GetAxis ("Horizontal") * speed;
float deltaZ = Input.GetAxis ("Vertical") * speed;
transform.Translate (deltaX, speed, deltaZ);
}
}