Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > FBodyInstance > GetSimplePhysicalMaterial
References
Module | Engine |
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 &42; GetSimplePhysicalMaterial
&40;
const FBodyInstance &42; BodyInstance,
TWeakObjectPtr< UPrimitiveComponent > Owner,
TWeakObjectPtr< UBodySetup > BodySetupPtr
&41;
Remarks
Find the correct PhysicalMaterial for simple geometry on a given body and owner. This is really for internal use during serialization