using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
private Rigidbody rb;
void start(){
rb = GetComponent<Rigidbody>();
}
void fixedupdate(){
float movehorizontal = Input.GetAxis ("horizontal");
float moveVertical = Input.GetAxis ("vertical");
Vector3 movement = new Vector3 (movehorizontal , 0.0f , moveVertical);
rb.AddForce(movement);
}
}