Enumeration PhysicsMaterialCombineModeConst
Enumeration Members
ARITHMETIC_ MEAN
ARITHMETIC_MEAN: 3
The final value will be the arithmetic mean of the two values: (valueA + valueB) / 2
GEOMETRIC_ MEAN
GEOMETRIC_MEAN: 0
The final value will be the geometric mean of the two values: sqrt( valueA * valueB )
MAXIMUM
MAXIMUM: 2
The final value will be the larger of the two: max( valueA , valueB )
MINIMUM
MINIMUM: 1
The final value will be the smaller of the two: min( valueA , valueB )
MULTIPLY
MULTIPLY: 4
The final value will be the product of the two values: valueA * valueB
Determines how values from the PhysicsMaterial are combined when two objects are in contact. When each PhysicsMaterial specifies a different combine mode for some property, the combine mode which is used will be selected based on their order in this enum - i.e. a value later in this list will be preferentially used.