W3cubDocs

/Godot 4.2

Joint3D

Inherits: Node3D < Node < Object

Inherited By: ConeTwistJoint3D, Generic6DOFJoint3D, HingeJoint3D, PinJoint3D, SliderJoint3D

Abstract base class for all 3D physics joints.

Description

Abstract base class for all joints in 3D physics. 3D joints bind together two physics bodies and apply a constraint.

Tutorials

Properties

bool

exclude_nodes_from_collision

true

NodePath

node_a

NodePath("")

NodePath

node_b

NodePath("")

int

solver_priority

1

Methods

RID

get_rid ( ) const

Property Descriptions

bool exclude_nodes_from_collision = true

  • void set_exclude_nodes_from_collision ( bool value )
  • bool get_exclude_nodes_from_collision ( )

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

NodePath node_a = NodePath("")

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

NodePath node_b = NodePath("")

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

int solver_priority = 1

  • void set_solver_priority ( int value )
  • int get_solver_priority ( )

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

Method Descriptions

RID get_rid ( ) const

Returns the joint's RID.

© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_joint3d.html