mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 17:42:12 +00:00
f9435b6d72
update occurance of get_joint Update documentation as per feedback. update update Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
35 lines
1.6 KiB
XML
35 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Joint3D" inherits="Node3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Abstract base class for all 3D physics joints.
|
|
</brief_description>
|
|
<description>
|
|
Abstract base class for all joints in 3D physics. 3D joints bind together two physics bodies and apply a constraint.
|
|
</description>
|
|
<tutorials>
|
|
<link title="3D Truck Town Demo">https://godotengine.org/asset-library/asset/524</link>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_rid" qualifiers="const">
|
|
<return type="RID" />
|
|
<description>
|
|
Returns the joint's [RID].
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="exclude_nodes_from_collision" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision" default="true">
|
|
If [code]true[/code], the two bodies of the nodes are not able to collide with each other.
|
|
</member>
|
|
<member name="node_a" type="NodePath" setter="set_node_a" getter="get_node_a" default="NodePath("")">
|
|
The node attached to the first side (A) of the joint.
|
|
</member>
|
|
<member name="node_b" type="NodePath" setter="set_node_b" getter="get_node_b" default="NodePath("")">
|
|
The node attached to the second side (B) of the joint.
|
|
</member>
|
|
<member name="solver_priority" type="int" setter="set_solver_priority" getter="get_solver_priority" default="1">
|
|
The priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority.
|
|
</member>
|
|
</members>
|
|
</class>
|