Hello, i made a small 2D JumpAndRun game, and i wondered if there is a way to improve the BuildIn collider of unity?
Because currently the player is able to get stuck in walls just by walking into them.
Is there a way to prevent this?
Maybe with another movement script?
movementX = Input.GetAxisRaw("Horizontal");
transform.position += new Vector3(movementX, 0f, 0f) * Time.deltaTime * moveSpeed;
↧