soft_skin2d
The mesh a softbody2d with cells carries as its skin: a grid, a volumetric body or a custom one with cells, whose particles are not the mesh's own.
Na této stránce
2d · physics · 2 properties · 2D
The mesh a softbody2d with cells carries as its skin: a grid, a volumetric body or a custom one with cells, whose particles are not the mesh's own.
In a scene, soft_skin2d is the node key that applies it. A script reaches each property below as a field on node.soft_skin2d: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.soft_skin2d.get() and node.soft_skin2d.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
skin |
bool | true |
Keep the mesh asset's outline as what the cells carry and the node draws |
skin_collision |
bool | false |
Meet the world through the skin rather than the cells' boundary |