void Update() { float moveX = Input.GetAxis("Horizontal"); float moveZ = Input.GetAxis("Vertical");
private Rigidbody rb;
Let me know if you want me to add or change anything! only games github