create_physical_material
Creates and saves a UPhysicalMaterial asset with optional friction, restitution, and density values. If the asset already exists, it loads it and reapplies provided properties.
Instructions
Create and save a UPhysicalMaterial asset, optionally setting surface/object properties. Idempotent: if the asset already exists it is loaded, any provided values are re-applied, and a stable payload is returned.
Returns: { name: string, asset_path: string, package_path: string, friction: number, restitution: number, density: number, already_existed: bool, created: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Asset name (e.g. 'PM_Rubber'). | |
| density | No | Optional Density value (g/cm^3) to set on creation | |
| friction | No | Optional Friction value to set on creation | |
| restitution | No | Optional Restitution value to set on creation | |
| package_path | No | Target /Game package path (optional, default "/Game/Physics") |