Skip to content

Search

Dokumentace

soft_polyline2d

Which segments of its mesh a softbody2d laid out as a polyline joins. The soft_polyline2d component of the Balaur game engine: its 1 property, and the…

Na této stránce

2d · physics · 1 property · 2D

Which segments of its mesh a softbody2d laid out as a polyline joins.

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

Properties

property type default description
edges enum chain Which segments a polyline body joins: its mesh's points in order, or the edges of its mesh's triangles One of chain, mesh.