Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

2D Composite Collider Not Generating Straight Lines Between Points (2019.2.11)

Discussion in '2D Experimental Preview' started by TomMG, Nov 10, 2019.

  1. TomMG

    TomMG

    Joined:
    Jun 1, 2017
    Posts:
    2
    After updating from 2018.3.12 to 2019.2.11, Composite Collider 2D, when using in conjunction with Tilemap Collider, no longer generates 'straight' lines between two points. Instead, one of the two points is offset by a slight value, causing most lines to be slightly sloped, and breaking collisions in our game. This might be caused by the current inability to set the offset distance to 0. See attached image for a collider shape that should be generated with clean integer values, but is instead generating with extreme float values.