FBodyInstance::GetComplexPhysicalMaterials

Find the correct PhysicalMaterial and PhysicalMaterialMasks for complex geometry on a given body and owner.

Windows
MacOS
Linux

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

Syntax

static void GetComplexPhysicalMaterials
(
    const FBodyInstance * BodyInstance,
    TWeakObjectPtr< UPrimitiveComponent > Owner,
    TArray< UPhysicalMaterial * > & OutPhysMaterials,
    TArray< FPhysicalMaterialMaskParams > * OutPhysMaterialMasks
)

Remarks

Find the correct PhysicalMaterial and PhysicalMaterialMasks for complex geometry on a given body and owner. This is really for internal use during serialization

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss