Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
- UPrimitiveComponent::SetPhysMaterialOverride()
- USkeletalMeshComponent::SetPhysMaterialOverride()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
virtual void SetPhysMaterialOverride
&40;
UPhysicalMaterial &42; NewPhysMaterial
&41;
Remarks
Changes the current PhysMaterialOverride for this component. Note that if physics is already running on this component, this will not alter its mass/inertia etc, it will only change its surface properties like friction.