Open 3D Engine PhysX Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Properties of a PhysX material. More...
#include <PhysXMaterialConfiguration.h>
Public Member Functions | |
AZ_TYPE_INFO (PhysX::MaterialConfiguration, "{66213D20-9862-465D-AF4F-2D94317161F6}") | |
AZ::Data::Asset< Physics::MaterialAsset > | CreateMaterialAsset () const |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
static void | ValidateMaterialAsset (AZ::Data::Asset< Physics::MaterialAsset > materialAsset) |
Public Attributes | |
float | m_dynamicFriction = 0.5f |
float | m_staticFriction = 0.5f |
float | m_restitution = 0.5f |
float | m_density = 1000.0f |
CombineMode | m_restitutionCombine = CombineMode::Average |
CombineMode | m_frictionCombine = CombineMode::Average |
CompliantContactModeConfiguration | m_compliantContactMode |
AZ::Color | m_debugColor = AZ::Colors::White |
Properties of a PhysX material.
AZ::Data::Asset<Physics::MaterialAsset> PhysX::MaterialConfiguration::CreateMaterialAsset | ( | ) | const |
Creates a Physics Material Asset with random Id from the properties of material configuration.