Physical Materials User Guide

Guide to the creation and application of Physical Materials in Unreal Engine.

This document will cover the creation and usage of Physical Materials as well as enabling or editing Surface Types for your project.

Creation

  1. From the Content Drawer, click Add > Physics > Physical Material or right-click in the Content Drawer > Physics > Physical Material.

     Click Add, Physics, Physical Material or right-click in the Content Drawer, Physics, Physical Material from the Content Drawer

  2. Double click the NewPhysicalMaterial to edit its properties.

    Double click the NewPhysicalMaterial

  3. Adjust properties.

    Adjust properties

  4. Click Save

    Click Save

See the Physical Material Reference for information on the properties of the Physical Material.

Surface Type

By default, Unreal Engine 5 supports 62 Surface Types, which can be labeled as anything you desire, stored in your project's DefaultEngine.ini, which can be found in YourProjectRoot\Config\DefaultEngine.ini.

Usage

Material

  1. Open or create a new material.

    Open or create a new Material

  2. Select the main material node.

    Select the main material node

  3. Change the Physical Material.

    Change the Physical Material

Material Instance

  1. Open or create a new Material Instance.

    Open or create a new Material Instance

  2. Change the Physical Material.

    Change the Physical Material

Physics Asset (Skeletal Mesh)

When adjusting the Physical Material for a Physics Asset, it is best to start by assigning the most commonly used Physical Material to all of the Physics Bodies in the Physics Asset.

  1. Double-click a Physics Asset in the Content Drawer to open it in the Physics Asset Editor.

    Double-click a Physics Asset in the Content Drawer to open it in the Physics Asset Editor

  2. In the Physics Asset Editor, select a Physical Material from the Physical Material dropdown in the toolbar.

    Select a Physical Material from the Physical Material dropdown in the toolbar in the Physics Asset Editor

If specific Physics Bodies need differing Physical Materials, you can then adjust them individually.

  1. Double-click a Physics Asset in the Content Drawer to open it in the Physics Asset Editor.

  2. Select a Physics Body.

  3. In the Details pane, in the Physics Category, change the Simple Collision Physical Material.

Physical Material Physics Asset

The default behavior for Physics interactions with Skeletal Meshes is to only interact with its associated Physics Asset, so the Skeletal Mesh's material's Physical Material will not be used.

With Physics Assets, though you are setting the Simple Collision Physical Material, when you trace against a Physics Asset, you will need to do a complex trace and the complex trace will return the Physical Material listed in the Simple Collision Physical Material property of the hit Physics Body.

Static Mesh

Static Meshes have both Simple Collision (the Physics Bodies that you create in your 3D art package or the StaticMesh Editor) and Complex Collision (per poly collision) which can be composed of several different materials each with their differing Physical Materials.

Collision

Physical Material Order

Simple

When any collision or trace uses Simple Collision, it will reference the Physical Material on the StaticMesh that is set in the StaticMesh Editor, or if the Phys Material Override on the StaticMesh Actor is set to something other than None, it will use what is listed in that property.

Complex

When any collision or trace uses Complex Collision, it will reference the Physical Material on the Material or Material Instances applied to the StaticMesh Actor, or if the Phys Material Override on the StaticMesh Actor is set to something other than None, it will use what is listed in that property.

To set the Simple Collision Physical Material for a StaticMesh:

  1. Double Click a Static Mesh in the Content Drawer to bring up the Static Mesh Editor.

    Double Click a Static Mesh in the Content Drawer to bring up the Static Mesh Editor

  2. Change the Simple Collision Physical Material property in the Static Mesh Settings category to the desired Physical Material.

    Change the Simple Collision Physical Material property in the Static Mesh Settings category to the desired Physical Material

  3. Click Save

    Click Save

Misc

The Phys Material Override property exists on everything with a Physics category

The Phys Material Override property exists on everything with a Collision category. This can be used to completely override Simple Collision Physical Materials on an Actor or Component with the selected Physical Material.

  • Overriding a StaticMesh's simple collision Physical Material.

  • Since Skeletal Meshes Physics Assets always return Simple Collision, you can use this to override all Physical Materials on a placed Skeletal Mesh Actor.

This does not affect Complex Collision traces.

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