Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Composite Collider 'Offset Distance' Not in documentation and doesn't seem to work.

Discussion in '2D' started by LukeAJones, Jul 7, 2019.

  1. LukeAJones

    LukeAJones

    Joined:
    May 7, 2017
    Posts:
    15
    The manual doesn't make any mention of it which is a bit of a mistake:
    https://docs.unity3d.com/Manual/class-CompositeCollider2D.html
    Thankfully the highlight text makes it pretty clear what it does, but it doesn't seem to work. Right now I've got a bunch of objects that get attached to each other on contact. Them touching isn't enough to merge the colliders in the composite though so I tried upping that value to allow it. No matter how high I put that value nothing changes. If I move them a little closer together it all works so I assume everything is setup right, and I can't find anything about this feature online. Any advice?
    Currently problem:
    upload_2019-7-7_21-35-32.png
    When moved a little closer:
    upload_2019-7-7_21-36-21.png
     
  2. LukeAJones

    LukeAJones

    Joined:
    May 7, 2017
    Posts:
    15
    Well I found out there is actually documentation in a seperate bit and I misunderstood what it does. Still should be added to the manual though.