Search Unity

Any way to square off tilemap colliders?

Discussion in '2D' started by mishappp, Aug 14, 2019.

  1. mishappp

    mishappp

    Joined:
    Aug 9, 2017
    Posts:
    11
    I have a tile map which its surface isn't smooth it has foliage and jagged edges on the walking surface. When I generate a tilemap collider with a composite collider the collider is jagged and matching the surface. Is there a way to square this off rather then be so precise?

    https://gyazo.com/5ccea2d88d0338bbbd10574baee9c546

    Edit : Figured it out, Vertex distance on the composite collider will achieve this.
     
    lokeshvt likes this.