PhysicalMaterial¶
Class in Engine · Engine.PhysicalMaterial · native
Object › PhysicalMaterial
Using it from Lua
Enums¶
EPhysEffectType
EPMET_Impact = 0, EPMET_Slide = 1
Properties¶
| Name | Type | Notes |
|---|---|---|
AngularDamping | float | |
AnisoFrictionDir | vector | |
bEnableAnisotropicFriction | bool | |
bForceConeFriction | bool | |
Density | float | |
FractureSoundExplosion | SoundCue | |
FractureSoundSingle | SoundCue | |
Friction | float | |
FrictionV | float | |
ImpactEffect | ParticleSystem | |
ImpactReFireDelay | float | |
ImpactSound | SoundCue | |
ImpactThreshold | float | |
LinearDamping | float | |
MagneticResponse | float | |
MaterialIndex | int | transient |
Parent | PhysicalMaterial | |
PhysicalMaterialProperty | PhysicalMaterialPropertyBase | |
Restitution | float | |
SlideEffect | ParticleSystem | |
SlideReFireDelay | float | |
SlideSound | SoundCue | |
SlideThreshold | float | |
WindResponse | float |
Functions¶
| Name | Declaration |
|---|---|
FindFractureSounds | simulated function FindFractureSounds(out SoundCue OutSoundExplosion, out SoundCue OutSoundSingle) |
FindPhysEffectInfo | native function PhysEffectInfo FindPhysEffectInfo(EPhysEffectType Type) |
GetPhysicalMaterialProperty | simulated function PhysicalMaterialPropertyBase GetPhysicalMaterialProperty(class<PhysicalMaterialPropertyBase> DesiredClass) |
Default values¶
Friction=0.7
Restitution=0.3
Density=1.0
AngularDamping=0.0
LinearDamping=0.01
MagneticResponse=0.0
WindResponse=0.0
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |