using System.Collections;
using System.Collections.Generic;
public class TankController : MonoBehaviour
public float RotateSpeed;
float x = Input.GetAxisRaw("Horizontal") * RotateSpeed;
float y = Input.GetAxisRaw("Vertical") * speed;
transform.Translate(new Vector3(0,0,y));
transform.Rotate(new Vector3(0, x, 0));