crashcat docs
    Preparing search index...

    Enumeration MaterialCombineMode

    Mode for combining material properties (friction, restitution) when two bodies collide. Determines how to calculate the effective value from both bodies' properties.

    Index

    Enumeration Members

    Enumeration Members

    AVERAGE: 0

    average: (a + b) / 2

    GEOMETRIC_MEAN: 4

    geometric mean: sqrt(a * b)

    MAX: 3

    maximum: max(a, b) - Use the larger value

    MIN: 2

    minimum: min(a, b) - Use the smaller value

    MULTIPLY: 1

    multiply: a * b