Skip to content

Search

Documentazione

physics_material

What a collider's surface is made of: friction and restitution, and how each combines with the surface it touches. A collider, a tile_collision or a soft…

Files live in physics_materials/. Used by collider2d · physics_material, collider3d · physics_material, softbody2d · physics_material, softbody3d · physics_material, tile_collision · physics_material.

What a collider's surface is made of: friction and restitution, and how each combines with the surface it touches. A collider, a tile_collision or a soft body names one in its physics_material row, or writes one inline:

type = "physics_material"
friction = 0.05
friction_combine = "min"