Only Games Github -

Here is the code

rb.AddForce(movement * speed);

Let me know if you want me to add or change anything! only games github

private Rigidbody rb;

public class PlayerController : MonoBehaviour { public float speed = 5.0f; public float jumpForce = 10.0f; Here is the code rb

Vector3 movement = new Vector3(moveX, 0.0f, moveZ); public float jumpForce = 10.0f