Building a Climbing System in UE5
Raccoon Climbing Mechanisms

Utilizing Traces
For my game "Good Morning, Clearwater", I wanted to include a climbing system for the player character.
Early on I experimented with manually assigning specific ledges that the player could clamber over, but eventually found that I wanted something more robust. Rather than continuing with manually assignment, I opted for a more dynamic approach.
An early iteration utilized two types of traces. A wall trace and a ledge trace. The wall trace would move forward from the player character with a ledge trace spewing downwards.
I setup separate functions for the ForwardTrace and the HeightTrace.
The forward trace by itself.
With the HeightTrace added.
Testing on a ledge
Forward Trace Blueprint


HeightTrace Blueprint
Climbing Higher
After working the traces for some time, I eventually found myself needing to expand climbing capabilities as well as restricting which walls my raccoon could climb onto. In response, I setup a new trace channel specifically reserved for ClimbableSurfaces, allowing me to adjust custom collision presets of objects I wanted to be climbable to "Block" oncoming traces. Delving deeper into making improvements, I tried out some more humanoid style approaches to climbing.
Allowing the player to move along walls, rather than just magnetizing to them.

Humanoid style climbing, moves along wall
Though there were still some bugs to sort out, for a basic climbing implementation, I was satisfied for the time being.

As I expand further on this mechanic, I was to have a climbing function that works on any and all permitted surfaces. Including upside down on ceilings and allowing for freeform wall run movement, similar to the modern Spider-Man games.