-
Creator 版本:3.6.3
-
目标平台:web
-
重现方式:频现(出现率较高)
-
在动态添加多边形碰撞体时,会频现不生效的情况:
在控制台提示:
Failed to find ear. There might be self-intersection in the polygon.
polygon-shape-2d.ts:41 [Physics2D] b2PolygonShape failed to decompose polygon into convex polygons, node name: line
代码如下: