Joint3D

Inherits: Node3D < Node < Object

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

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. See also Generic6DOFJoint3D.

Tutorials

Properties

bool

exclude_nodes_from_collision

true

NodePath

node_a

NodePath("")

NodePath

node_b

NodePath("")

int

solver_priority

1

Property Descriptions

  • bool exclude_nodes_from_collision

Default

true

Setter

set_exclude_nodes_from_collision(value)

Getter

get_exclude_nodes_from_collision()

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


Default

NodePath("")

Setter

set_node_a(value)

Getter

get_node_a()

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


Default

NodePath("")

Setter

set_node_b(value)

Getter

get_node_b()

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


  • int solver_priority

Default

1

Setter

set_solver_priority(value)

Getter

get_solver_priority()

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