UBodySetup::GetPhysMaterial

Returns the physics material used for this body.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodySetup.h

Include

#include "PhysicsEngine/BodySetup.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodySetup.cpp

Syntax

UPhysicalMaterial * GetPhysMaterial() const

Remarks

Returns the physics material used for this body. If none, specified, returns the default engine material.

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