game_create_joint
Create a physics joint between two Godot bodies to constrain their movement, with support for pin, spring, groove, hinge, cone, and slider joint types.
Instructions
Create a physics joint between two bodies
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"parentPath": "<parentPath>",
"jointType": "<jointType>"
},
"name": "game_create_joint"
}
}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 |