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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Object getting stuck between polygons

Discussion in 'Scripting' started by Neomedus, Jun 12, 2020.

  1. Neomedus

    Neomedus

    Joined:
    May 14, 2020
    Posts:
    47
    I know this isn't exactly a scripting question but the physics forum is super inactive.

    When I release them over the lines:



    In my program I have a dynamic object and the pan is a kinematic object. I want the object to be pushed outside of the collider when released. When I drag the dynamic object over the top pan and release it over one of the lines, it gets stuck on the polygon lines within the shape and doesn't get pushed out like it should. If I release it in a place on the pan where it doesn't contact any lines, it get pushed out like it should. Is there any way to fix this?
     
  2. davidnibi

    davidnibi

    Joined:
    Dec 19, 2012
    Posts:
    424
    What is the collision object on your pan?
     
  3. Neomedus

    Neomedus

    Joined:
    May 14, 2020
    Posts:
    47
    Polygon collider