Method GetCombinedFriction
GetCombinedFriction(Material, Material)
Get a combined friction value for a pair of materials. The combine policy with the highest value takes priority.
Declaration
public static float GetCombinedFriction(Material materialA, Material materialB)
Parameters
| Type | Name | Description |
|---|---|---|
| Material | materialA | The material a. |
| Material | materialB | The material b. |
Returns
| Type | Description |
|---|---|
| float | The combined friction. |