API

Interface PhysicsShapeMaterial

Readback of a shape's dynamic friction, static friction, and restitution.

interface PhysicsShapeMaterial {
    friction: number;
    restitution: number;
    staticFriction: number;
}
Index
friction: number
restitution: number
staticFriction: number