godot_edit_primitive_mesh
Modify PrimitiveMesh resources in Godot 4.5+ by changing mesh types and parameters for existing MeshInstance3D nodes to customize 3D geometry in game scenes.
Instructions
Modify the PrimitiveMesh resource attached to an existing MeshInstance3D by changing its mesh type and/or one or more mesh parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to the Godot project directory or its project.godot file. | |
| scene_path | Yes | Path to the target .tscn file. Absolute, relative, and res:// paths are supported. | |
| node_path | Yes | Scene-relative node path to the MeshInstance3D node that should be edited. | |
| mesh_type | No | Optional new PrimitiveMesh class such as BoxMesh, CylinderMesh, SphereMesh, CapsuleMesh, PlaneMesh, PrismMesh, QuadMesh, or TorusMesh. | |
| mesh_parameters | No | Primitive mesh property overrides such as size, radius, height, or segment counts. | |
| godot_executable | No | Optional explicit path to the Godot executable or .app bundle. |