generic_joint2d
Which axes a joint2d of kind generic locks, and which free ones it ties into one.
このページの内容
2d · physics · 3 properties · 2D
Which axes a joint2d of kind generic locks, and which free ones it ties into one.
In a scene, generic_joint2d is the node key that applies it. A script reaches each property below as a field on node.generic_joint2d: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.generic_joint2d.get() and node.generic_joint2d.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
coupled_translation |
flags | [] |
Free linear axes tied into one distance, whose limit and motor come from the first of them; a rope and a spring couple both already One of x, y. |
lock_rotation |
bool | false |
Stop a generic joint turning |
lock_translation |
flags | [] |
The axes a generic joint may not slide along One of x, y. |