Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- UPrimitiveComponent::SetPhysMaterialOverride()
- USkeletalMeshComponent::SetPhysMaterialOverride()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
UFUNCTION (BlueprintCallable, Category="Physics",
Meta=(DisplayName="Set PhysicalMaterial Override"))
virtual void SetPhysMaterialOverride
(
class UPhysicalMaterial * NewPhysMaterial
)
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.