2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 13:18:53 +00:00
<class name= "Joint3D" inherits= "Node3D" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 20:42:36 +00:00
<brief_description >
2019-06-21 23:04:47 +00:00
Base class for all 3D joints.
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2020-12-24 00:46:56 +00: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. See also [Generic6DOFJoint3D].
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
2020-10-01 08:34:47 +00:00
<link title= "3D Truck Town Demo" > https://godotengine.org/asset-library/asset/524</link>
2017-09-12 20:42:36 +00:00
</tutorials>
<members >
2022-08-22 09:26:47 +00:00
<member name= "exclude_nodes_from_collision" type= "bool" setter= "set_exclude_nodes_from_collision" getter= "get_exclude_nodes_from_collision" default= "true" >
2018-12-20 12:46:54 +00:00
If [code]true[/code], the two bodies of the nodes are not able to collide with each other.
2017-09-12 20:42:36 +00:00
</member>
2022-08-22 09:26:47 +00:00
<member name= "node_a" type= "NodePath" setter= "set_node_a" getter= "get_node_a" default= "NodePath("")" >
2019-01-07 09:02:04 +00:00
The node attached to the first side (A) of the joint.
2017-09-12 20:42:36 +00:00
</member>
2022-08-22 09:26:47 +00:00
<member name= "node_b" type= "NodePath" setter= "set_node_b" getter= "get_node_b" default= "NodePath("")" >
2019-01-07 09:02:04 +00:00
The node attached to the second side (B) of the joint.
2017-09-12 20:42:36 +00:00
</member>
2022-08-22 09:26:47 +00:00
<member name= "solver_priority" type= "int" setter= "set_solver_priority" getter= "get_solver_priority" default= "1" >
2019-01-07 09:02:04 +00: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 20:42:36 +00:00
</member>
</members>
</class>