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 Buoyancy Effector 2d with Polygon Collider 2D

Discussion in 'Physics' started by HenryDannyson, Aug 29, 2023.

  1. HenryDannyson

    HenryDannyson

    Joined:
    Aug 22, 2021
    Posts:
    1
    In Unity 2022.3 I needed to create a nonbox shaped water area and decided to use polygon collider. Drawn the shape and the polygon is divided into triangles, the problem is when object collides with multiple of these triangles, the buoyancy effect is being multiplied for each triangle the object intersects. Question is how to fix it or how to do polygonal water areal with buoyancy.
     
    Last edited: Sep 12, 2023