diff options
Diffstat (limited to 'doc/classes/Joint2D.xml')
-rw-r--r-- | doc/classes/Joint2D.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/Joint2D.xml b/doc/classes/Joint2D.xml index e6c2f6d157..b9caa7ef4b 100644 --- a/doc/classes/Joint2D.xml +++ b/doc/classes/Joint2D.xml @@ -74,12 +74,16 @@ </methods> <members> <member name="bias" type="float" setter="set_bias" getter="get_bias"> + When [member node_a] and [member node_b] move in different directions the [code]bias[/code] controls how fast the joint pulls them back to their original position. The lower the [code]bias[/code] the more the two bodies can pull on the joint. Default value: [code]0[/code] </member> <member name="disable_collision" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision"> + If [code]true[/code] [member node_a] and [member node_b] can collide. Default value: [code]false[/code]. </member> <member name="node_a" type="NodePath" setter="set_node_a" getter="get_node_a"> + The first body attached to the joint. Must derive from [PhysicsBody2D]. </member> <member name="node_b" type="NodePath" setter="set_node_b" getter="get_node_b"> + The second body attached to the joint. Must derive from [PhysicsBody2D]. </member> </members> <constants> |