Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Tile Map Composite Collider 2d not behaving as expected

Discussion in '2D Experimental Preview' started by CyanSlinky, Oct 16, 2017.

  1. CyanSlinky

    CyanSlinky

    Joined:
    Feb 27, 2014
    Posts:
    11
    I'm trying to use a tilemap collider 2d in conjunction with a composite collider 2d to have "walls" on the edges of the tiles but the composite collider doesn't seem to be merging them properly in some places and as a result i get walls where i don't want them.

    the red arrows indicate where it's generating walls where i don't want them.

    colliderwhy.png
     
  2. CyanSlinky

    CyanSlinky

    Joined:
    Feb 27, 2014
    Posts:
    11
    i did some tests and apparently it works fine with a normal tile.
    It breaks when using a terrain tile from the 2d extras, any way to fix it?

    Edit: i tried using the rule tile instead and it seems to break on the edges of rotated tiles?
     
    Last edited: Oct 17, 2017
  3. CyanSlinky

    CyanSlinky

    Joined:
    Feb 27, 2014
    Posts:
    11
    a year later and this is still broken, no idea how to fix it.