Skip to content

Search

Documentação

soft_circle2d

The size of a softbody2d laid out as a circle: a disk of particles inside a rim.

Nesta página

2d · physics · 2 properties · 2D

The size of a softbody2d laid out as a circle: a disk of particles inside a rim.

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

Properties

property type default description
particle_count int 16 How many particles the rim of a circle is made of At least 2.
radius float 0.5 Radius At least 0.001.