2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 10:08:05 +02:00
<class name= "Joint3D" inherits= "Node3D" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-12 22:42:36 +02:00
<brief_description >
2023-04-28 22:59:03 +02:00
Abstract base class for all 3D physics joints.
2017-09-12 22:42:36 +02:00
</brief_description>
<description >
2024-01-21 18:25:56 +01:00
Abstract base class for all joints in 3D physics. 3D joints bind together two physics bodies ([member node_a] and [member node_b]) and apply a constraint. If only one body is defined, it is attached to a fixed [StaticBody3D] without collision shapes.
2017-09-12 22:42:36 +02:00
</description>
<tutorials >
2024-03-25 02:20:59 +01:00
<link title= "3D Truck Town Demo" > https://godotengine.org/asset-library/asset/2752</link>
2017-09-12 22:42:36 +02:00
</tutorials>
2023-08-17 16:30:18 +02:00
<methods >
<method name= "get_rid" qualifiers= "const" >
<return type= "RID" />
<description >
2024-01-21 18:25:56 +01:00
Returns the joint's internal [RID] from the [PhysicsServer3D].
2023-08-17 16:30:18 +02:00
</description>
</method>
</methods>
2017-09-12 22:42:36 +02:00
<members >
2022-08-22 11:26:47 +02:00
<member name= "exclude_nodes_from_collision" type= "bool" setter= "set_exclude_nodes_from_collision" getter= "get_exclude_nodes_from_collision" default= "true" >
2024-01-21 18:25:56 +01:00
If [code]true[/code], the two bodies bound together do not collide with each other.
2017-09-12 22:42:36 +02:00
</member>
2022-08-22 11:26:47 +02:00
<member name= "node_a" type= "NodePath" setter= "set_node_a" getter= "get_node_a" default= "NodePath("")" >
2024-01-21 18:25:56 +01:00
Path to the first node (A) attached to the joint. The node must inherit [PhysicsBody3D].
If left empty and [member node_b] is set, the body is attached to a fixed [StaticBody3D] without collision shapes.
2017-09-12 22:42:36 +02:00
</member>
2022-08-22 11:26:47 +02:00
<member name= "node_b" type= "NodePath" setter= "set_node_b" getter= "get_node_b" default= "NodePath("")" >
2024-01-21 18:25:56 +01:00
Path to the second node (B) attached to the joint. The node must inherit [PhysicsBody3D].
If left empty and [member node_a] is set, the body is attached to a fixed [StaticBody3D] without collision shapes.
2017-09-12 22:42:36 +02:00
</member>
2022-08-22 11:26:47 +02:00
<member name= "solver_priority" type= "int" setter= "set_solver_priority" getter= "get_solver_priority" default= "1" >
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>
</class>