spring_joint2d
The length a joint2d of kind spring pulls back to. The spring_joint2d component of the Balaur game engine: its 1 property, and the functions a script…
På den här sidan
2d · physics · 1 property · 2D
The length a joint2d of kind spring pulls back to.
In a scene, spring_joint2d is the node key that applies it. A script reaches each property below as a field on node.spring_joint2d: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.spring_joint2d.get() and node.spring_joint2d.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
rest_length |
float | 0 |
The length a spring pulls back to At least 0. |