Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

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

Discussion in '2D Experimental Preview' started by TomMG, Nov 10, 2019 at 4:05 AM.

  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.