Version: 2022.3
Language : English
Create a compound collider
Collider surface friction

Collider surfaces

In real-world physics, objects that can collide have different surface textures and properties that affect how they collide with each other, and how they interact with each other.

To control how objects collide with each other in the physics simulation, you can adjust the friction and bounciness of your collidersAn invisible shape that is used to handle physical collisions for an object. A collider doesn’t need to be exactly the same shape as the object’s mesh - a rough approximation is often more efficient and indistinguishable in gameplay. More info
See in Glossary
. In Unity, you use the Physic MaterialA physics asset for adjusting the friction and bouncing effects of colliding objects. More info
See in Glossary
asset to control these parameters. The Physic Material asset is represented in the API by the PhysicMaterial class.

For more detailed information on how PhysX applies friction and bounce, see the Nvidia PhysX documentation Rigid Body Dynamics: Friction and Restitution.

Topic Description
Collider surface friction How Unity handles friction on collider surfaces, and how to configure friction properties.
Collider surface bounciness How Unity handles bounciness on collider surfaces, and how to configure bounce properties.
How collider surface values combine How Unity combines the values of surface properties in a collider pair; for example, how it calculates the friction between two colliders that have different friction values.
Create and apply a Physic Material Create and configure a Physic Material to define a collider’s surface properties, and apply it to a collider.
Physic Material component reference Reference page for the Physic Material asset.
Create a compound collider
Collider surface friction