PhysicMaterialCombine
The PhysicMaterialCombine enumeration is used to define how two physics materials are combined when two objects collide, determining the resulting collision effect.
| attributes | description |
|---|---|
| Average | Calculate the average value of two physical material properties. For example, if one object has a friction coefficient of 0.5 and another object has a friction coefficient of 0.3, the friction coefficient between the two objects will be calculated as (0.5 + 0.3) / 2 = 0.4. |
| Multiply | Multiply two physical material properties together. For example, if one object has a friction coefficient of 0.5 and another object has a friction coefficient of 0.3, when the two objects collide, their friction coefficients will be calculated as 0.5 * 0.3 = 0.15. |
| Minimum | Returns the minimum value of two physical material properties. For example, if one object has a friction coefficient of 0.5 and another object has a friction coefficient of 0.3, the friction coefficient between the two objects will be calculated as 0.3 when they collide. |
| Maximum | Get the maximum value of two physical material properties. For example, if one object has a friction coefficient of 0.5 and another object has a friction coefficient of 0.3, the friction coefficient between the two objects will be calculated as 0.5 when they collide. |
