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

Official 2D Physics in Unity 2022.1 beta

Discussion in '2D Experimental Preview' started by rustum, Nov 26, 2021.

Thread Status:
Not open for further replies.
  1. rustum

    rustum

    Unity Technologies

    Joined:
    Feb 14, 2015
    Posts:
    190
    2D Physics in Unity 2022.1 beta
    ℹ️

    Unity 2022.1 has been released with these new improvements in 2D Physics! Let's continue the discussion here!

    Delaunay.png

    Hi 2D folks! We have new updates for 2D Physics in the 2022.1 beta!

    What’s new?
    • Delaunay tessellation
      • The PolygonCollider2D, CompositeCollider2D, and TilemapCollider2D components produce multiple polygon physics shapes to fill the area of the provided path outlines. Those polygon physics shapes can become too numerous, too thin or too small, especially on curved outlines. In some cases, some of these are filtered out by the physics engine itself as it cannot use them.
      • We’re introducing Delaunay tessellation when producing these polygon physics shapes, which produces far superior results in these cases; it not only reduces the quantity of polygon physics shapes that are too thin or small but also generally produces fewer polygons to cover the same area.
    Samples
    Check out the 2D Physics Samples github repo. We've added 2 samples to show the Delaunay tessellation here:
    About 2D Physics
    Read more about the current 2D Physics features here.

    What can you do?
    Try it out and let us know what you think of the additions and improvements. We want to know what works as expected, what doesn’t and what is missing. We’d love to see how you use them as well, so please show off all the cool things that you make with them!
     
    samanabo and NotaNaN like this.
  2. rustum

    rustum

    Unity Technologies

    Joined:
    Feb 14, 2015
    Posts:
    190
Thread Status:
Not open for further replies.