2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2018-02-27 13:40:43 +01:00
<class name= "Joint" inherits= "Spatial" category= "Core" version= "3.1" >
2017-09-12 22:42:36 +02:00
<brief_description >
2017-10-14 12:19:03 +02:00
Base class for all 3D joints
2017-09-12 22:42:36 +02:00
</brief_description>
<description >
2019-01-07 10:02:04 +01:00
Joints are used to bind together two physics bodies. They have a solver priority and can define if the bodies of the two attached nodes should be able to collide with each other.
2017-09-12 22:42:36 +02:00
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
</methods>
<members >
2017-09-13 08:49:40 +02:00
<member name= "collision/exclude_nodes" type= "bool" setter= "set_exclude_nodes_from_collision" getter= "get_exclude_nodes_from_collision" >
2018-12-20 13:46:54 +01:00
If [code]true[/code], the two bodies of the nodes are not able to collide with each other.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "nodes/node_a" type= "NodePath" setter= "set_node_a" getter= "get_node_a" >
2019-01-07 10:02:04 +01:00
The node attached to the first side (A) of the joint.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "nodes/node_b" type= "NodePath" setter= "set_node_b" getter= "get_node_b" >
2019-01-07 10:02:04 +01:00
The node attached to the second side (B) of the joint.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "solver/priority" type= "int" setter= "set_solver_priority" getter= "get_solver_priority" >
2019-01-07 10:02:04 +01:00
The priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority.
2017-09-12 22:42:36 +02:00
</member>
</members>
<constants >
</constants>
</class>