Quantcast
Viewing all articles
Browse latest Browse all 12

Improve unity 2D collider

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;

Viewing all articles
Browse latest Browse all 12

Trending Articles