how to do player movement with rb.move position in unity code example
Example: unity move with rigidbody.moveposition
rb2D.MovePosition(rb2D.position + velocity * Time.fixedDeltaTime);
rb2D.MovePosition(rb2D.position + velocity * Time.fixedDeltaTime);