Learn how to detect the surface type under your player in Unreal Engine 5 and automatically change movement behavior based on any custom surface you create.
In this beginner-friendly UE5 tutorial, we build a clean, modular, and expandable system that reads the physical material beneath the character and updates movement settings dynamically. Perfect for games that need slippery terrain, deep snow, mud slowdown, wet floors, sand movement, or any other terrain-based gameplay!
💬 Join the Community
Want help, feedback, or to chat Unreal? Join the Discord!
👉 / discord
⏱️ Timecodes
00:00 – Intro & Overview
00:40 – Project Setup
01:17 – Adding Surface Types
01:55 – Physical Materials & Test Meshes
05:18 – Enabling Surface Detection
06:27 – Getting Surface Type
08:23 – Detecting Surface Changes
13:04 – Movement Behavior per Surface
15:30 – Movement Settings Function & Struct
24:42 – Testing Surface Movement
26:48 – Wrap-Up
#unrealengine5 #unrealengine #gamedev