Skip to content

Search

Documentatie

rope_joint2d

How long a joint2d of kind rope may stretch. The rope_joint2d component of the Balaur game engine: its 1 property, and the functions a script calls on it.

Op deze pagina

2d · physics · 1 property · 2D

How long a joint2d of kind rope may stretch.

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

Properties

property type default description
max_length float 0 The rope's greatest length At least 0.