It looks like you're new here. If you want to get involved, click one of these buttons!
so i made player movemnt with these script, but when moving it kinda fills like it's lagging so is there better way to make movement?? i tried force but in was sliding arround and i could not fix it.
public Rigidbody rb;
public float leftspeed = -1500f;
public float rightspeed = 1500f;
public float forwardspeed = 2000f;
public float backwardsspeed = -1300f;
// Start is called before the first frame update
// Update is called once per frame
rb.transform.Translate(leftspeed * Time.deltaTime, 0, 0);
rb.transform.Translate(rightspeed * Time.deltaTime, 0, 0);
rb.transform.Translate(0, 0, forwardspeed * Time.deltaTime);
rb.transform.Translate(0, 0, backwardsspeed * Time.deltaTime);