convex_decomposition2d
How the node's collider2d cuts its mesh into convex pieces, for a convex_decomposition.
På denne siden
2d · physics · 1 property · 2D
How the node's collider2d cuts its mesh into convex pieces, for a convex_decomposition.
In a scene, convex_decomposition2d is the node key that applies it. A script reaches each property below as a field on node.convex_decomposition2d: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.convex_decomposition2d.get() and node.convex_decomposition2d.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
method |
variant | {"kind":"exact","overlap":0.9} |
How a convex_decomposition is cut, and the rows that way reads |