Skip to content

API Interface PhysicsMaterial

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: PhysicsMaterial

Defined in: src/engine/physics/types.ts:10

A collider's surface, in 2D and 3D: how it slides and how it bounces.

Properties

bounciness

bounciness: number;

Defined in: src/engine/physics/types.ts:12


friction

friction: number;

Defined in: src/engine/physics/types.ts:11

Clone this wiki locally