PxCombineMode Struct Reference
[Physics]
enumeration that determines the way in which two material properties will be combined to yield a friction or restitution coefficient for a collision.
More...
#include <PxMaterial.h>
Public Types | |
enum | Enum { eAVERAGE = 0, eMIN = 1, eMULTIPLY = 2, eMAX = 3, eN_VALUES = 4, ePAD_32 = 0x7fffffff } |
Detailed Description
enumeration that determines the way in which two material properties will be combined to yield a friction or restitution coefficient for a collision.When two actors come in contact with each other, they each have materials with various coefficients, but we only need a single set of coefficients for the pair.
Physics doesn't have any inherent combinations because the coefficients are determined empirically on a case by case basis. However, simulating this with a pairwise lookup table is often impractical.
For this reason the following combine behaviors are available:
eAVERAGE eMIN eMULTIPLY eMAX
The effective combine mode for the pair is maximum(material0.combineMode, material1.combineMode).
- See also:
- PxMaterial.setFrictionCombineMode() PxMaterial.getFrictionCombineMode() PxMaterial.setRestitutionCombineMode() PxMaterial.getFrictionCombineMode()
Member Enumeration Documentation
enum PxCombineMode::Enum |
- Enumerator:
The documentation for this struct was generated from the following file:
Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com