collision_set_shape_properties
Modify collision shape properties, such as size and position, on a specified node and shape index in a Godot scene.
Instructions
Set properties of a collision shape.
Category: Collision
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) node_path: Path to the CollisionShape node shape_index: Index of the shape (0 for first CollisionShape child) properties: JSON string of properties to set (e.g., '{"size": [20, 30], "position": [5, 0]}')
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| node_path | Yes | ||
| shape_index | Yes | ||
| properties | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |