rb.AddForce(movement * speed);
Let me know if you want me to add or change anything! only games github
private Rigidbody rb;
Here is the code
Epic Quest