Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

Joint3D

Hereda: Node3D < Node < Object

Heredado por: ConeTwistJoint3D, Generic6DOFJoint3D, HingeJoint3D, PinJoint3D, SliderJoint3D

Clase base abstracta para todas las articulaciones físicas 3D.

Descripción

Clase base abstracta para todas las articulaciones en física 3D. Las articulaciones 3D unen dos cuerpos físicos (node_a y node_b) y aplican una restricción. Si solo se define un cuerpo, se asocia a un StaticBody3D fijo sin formas de colisión.

Tutoriales

Propiedades

bool

exclude_nodes_from_collision

true

NodePath

node_a

NodePath("")

NodePath

node_b

NodePath("")

int

solver_priority

1

Métodos

RID

get_rid() const


Descripciones de Propiedades

bool exclude_nodes_from_collision = true 🔗

  • void set_exclude_nodes_from_collision(value: bool)

  • bool get_exclude_nodes_from_collision()

Si es true, los dos cuerpos unidos no colisionan entre sí.


NodePath node_a = NodePath("") 🔗

Ruta al primer nodo (A) unido a la articulación. El nodo debe heredar PhysicsBody3D.

Si se deja vacío y node_b está establecido, el cuerpo se une a un StaticBody3D fijo sin formas de colisión.


NodePath node_b = NodePath("") 🔗

Ruta al segundo nodo (B) unido a la articulación. El nodo debe heredar PhysicsBody3D.

Si se deja vacío y node_a está establecido, el cuerpo se une a un StaticBody3D fijo sin formas de colisión.


int solver_priority = 1 🔗

  • void set_solver_priority(value: int)

  • 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.

Note: Only supported when using GodotPhysics3D. This property is ignored when using Jolt Physics.


Descripciones de Métodos

RID get_rid() const 🔗

Devuelve el RID interno de la articulación desde PhysicsServer3D.