File formats·skills/ignifx/references/formats/ignifx.physicsmaterial.md
ignifx.physicsmaterial
<!-- Generated by `pnpm docs:schemas`. Do not edit by hand. -->Physics material file (
Physics material file (ignifx/physicsmaterial-file)#
A surface's friction and bounciness, referenced by a collider's material field.
| Field | Kind | Default | Description |
|---|---|---|---|
format | str | "ignifx.physicsmaterial" | Always "ignifx.physicsmaterial". |
formatVersion | u32 | 1 | The file format version; 1 before ignifx 1.0. |
name | str | "" | A human-readable name; defaults to the address. |
friction | f32 | 0.6 | The dynamic friction coefficient. |
staticFriction | f32 | 0.6 | The static friction coefficient; defaults to friction. |
restitution | f32 | 0 | How much approach speed is returned, 0 to 1. |