Skip to content

Search

Документация

soft_grid3d

The size and the cells of a softbody3d laid out as a box or a cloth: a block of particles, or a sheet of them.

На тази страница

3d · physics · 2 properties · 3D

The size and the cells of a softbody3d laid out as a box or a cloth: a block of particles, or a sheet of them.

In a scene, soft_grid3d is the node key that applies it. A script reaches each property below as a field on node.soft_grid3d: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.soft_grid3d.get() and node.soft_grid3d.set(table).

Properties

property type default description
cells vec3 [4,4,4] How many cells along each axis, for box; a cloth reads the first two
size vec3 [1,1,1] Whole size along each axis: a box's block, or a cloth's sheet along x and z