game_create_joint
Create a physics joint between two bodies in the Godot scene. Specify joint type, parent path, and optional parameters like stiffness or damping.
Instructions
Create a physics joint between two bodies
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Length (spring_2d, groove_2d) | |
| damping | No | Spring damping (spring_2d) | |
| softness | No | Softness (pin_2d) | |
| jointType | Yes | Joint type: pin_2d, spring_2d, groove_2d, pin_3d, hinge_3d, cone_3d, slider_3d | |
| nodeAPath | No | Path to first body | |
| nodeBPath | No | Path to second body | |
| stiffness | No | Spring stiffness (spring_2d) | |
| parentPath | Yes | Parent node path for the joint |