Files
esengine/thirdparty/rapier.js/src.ts/dynamics/coefficient_combine_rule.ts

14 lines
293 B
TypeScript
Raw Normal View History

2025-12-03 16:24:08 +08:00
/**
* A rule applied to combine coefficients.
*
* Use this when configuring the `ColliderDesc` to specify
* how friction and restitution coefficient should be combined
* in a contact.
*/
export enum CoefficientCombineRule {
Average = 0,
Min = 1,
Multiply = 2,
Max = 3,
}