Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FBodyInstance
Description
Set physical material override for this body
Changes the current PhysMaterialOverride for this body. 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 and the damping.
| Name | SetPhysMaterialOverride |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
| Include Path | #include "PhysicsEngine/BodyInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp |
void SetPhysMaterialOverride
(
class UPhysicalMaterial * NewPhysMaterial
)