Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

Index

Enumeration Members

ARITHMETIC_MEAN: 3
GEOMETRIC_MEAN: 0

The final value will be the geometric mean of the two values: sqrt( valueA * valueB )

MAXIMUM: 2
MINIMUM: 1

The final value will be the smaller of the two: min( valueA , valueB )

MULTIPLY: 4

The final value will be the product of the two values: valueA * valueB

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme