Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
Include |
#include "PhysicsEngine/BodyInstance.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp |
static UPhysicalMaterial * GetSimplePhysicalMaterial
(
const FBodyInstance * BodyInstance,
TWeakObjectPtr< UPrimitiveComponent > Owner,
TWeakObjectPtr< UBodySetup > BodySetupPtr
)
Find the correct PhysicalMaterial for simple geometry on a given body and owner. This is really for internal use during serialization