Sitemap

Working with PhysicMaterial.

3 min readMay 9, 2025

Objective: Working with PhysicMaterial.

To create Physic Material, go to the project folder, hit the plus button, or right click inside the Assets folder <PhysicMaterial.

Press enter or click to view image in full size

Option In Physic Material

Dynamic Friction allows you to set the object how smoothly it can move.

A value of 0 feels like ice, and 1 feels like rubber.

Static Friction, this allows us to set a friction when an object is static and determines how smoothly it will move if a moving object pushes it or bumps into it.

The value of it must me Must be greater than or equal to zero, this means 0, no friction at all, like slippery ice. 1 full friction, like rubber.

Bounciness: This option allows you to set how bouncy the object is.

Note: A value of 0 will not bounce. A value of 1 will bounce without any loss of energy.

Unity says, its How bouncy is the surface? But you can set anything to be bouncy, even a cow lol.

Friction Combine

Friction Combine has 4 options: average minimum, maximum, multiply

Friction Combine-Average: This will take the dynamic friction of two objects that have material and find the average value, and use it as its value. And it will do this for static friction

Friction Combine-minimum: This will look at which one has low static friction between the two and set it as the static friction value, and will do this for dynamic.

Friction Combine-multiply: This will multiply the value of static friction of two objects and use it as its value, and will do the same for dynamic friction.

Friction Combine-maximum: This will look maximum value between of two static frictions and use the highest value, and it will do the same forthe dynamic value.

Bounciness Combine:

For bounciness, it will do the same as the above explanation.

Setting my material for smooth metal and rough metal

Press enter or click to view image in full size

To add this material, select Object< Inspector < Collider <Material.

Press enter or click to view image in full size

Let's play and see how smoothly the object moves.

Press enter or click to view image in full size

See you at the next one.

--

--

Suleiman Abdullah
Suleiman Abdullah

Written by Suleiman Abdullah

My name is Suleiman Abdullah. I learn game development and share what I learn by writing articles. :https://ko-fi.com/suleimanabdullah

No responses yet