Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
Include |
#include "PhysicsEngine/BodyInstance.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp |
void SetPhysMaterialOverride
(
class UPhysicalMaterial * NewPhysMaterial
)
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.