create_material
Create a PBR or physics material for objects in an Isaac Sim scene, with optional color, roughness, metallic, and path settings.
Instructions
Create a PBR or physics material.
Args: material_type: "pbr" for visual material or "physics" for physics material. prim_path: Prim path for the material. Auto-generated if not set. material_path: Alias for prim_path. apply_material names this argument material_path, and an unknown argument is dropped silently rather than rejected — so asking for material_path="/World/Looks/Red" used to succeed while creating the material somewhere else entirely, and the follow-up apply_material then failed on a path that was never used. color: [r, g, b] diffuse color (0-1). PBR only. roughness: Surface roughness (0-1). PBR only. metallic: Metallic value (0-1). PBR only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| metallic | No | ||
| prim_path | No | ||
| roughness | No | ||
| material_path | No | ||
| material_type | No | pbr |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |