Joint

Inherits: Spatial < Node < Object

Inherited By: ConeTwistJoint, Generic6DOFJoint, HingeJoint, PinJoint, SliderJoint

Base class for all 3D joints.

Description

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.

Property Descriptions

  • bool collision/exclude_nodes
Defaulttrue
Setterset_exclude_nodes_from_collision(value)
Getterget_exclude_nodes_from_collision()

If true, the two bodies of the nodes are not able to collide with each other.


DefaultNodePath("")
Setterset_node_a(value)
Getterget_node_a()

The node attached to the first side (A) of the joint.


DefaultNodePath("")
Setterset_node_b(value)
Getterget_node_b()

The node attached to the second side (B) of the joint.


  • int solver/priority
Default1
Setterset_solver_priority(value)
Getterget_solver_priority()

The priority used to define which solver is executed first for multiple joints. The lower the value, the higher the priority.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.