Attempts to attach a convex b2PolygonShape to bodyId.
b2PolygonShape
bodyId
Returns the new shape id on success, or null if the contour is not eligible. Eligibility:
null
Callers (typically the debris path of Box2DAdapter) should fall back to contourToChain when this returns null.
Readonly
Attempts to attach a convex
b2PolygonShapetobodyId.Returns the new shape id on success, or
nullif the contour is not eligible. Eligibility:b2PolygonShapecap).Callers (typically the debris path of Box2DAdapter) should fall back to contourToChain when this returns
null.