Search Unity

2D: boxes getting caught on edges between tiles.

Discussion in 'Physics' started by andyz, Mar 29, 2015.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,276
    This has been mentioned before, but it seems an issue with box2d that if you slide a box along the top of a line of boxes you sometimes get snagged on a vertical edge - see http://www.iforce2d.net/b2dtut/ghost-vertices
    It's a bit of a pain when you want to build levels from blocky prefabs.

    One solution might be for Unity to have an auto-combine feature that combined overlapping/adjacent colliders into 1 big object.