Mantling System
The Mantling System in the URPG Template allows your character to climb over ledges, walls, and other obstacles seamlessly. It ensures smooth traversal across the environment, making gameplay feel more dynamic and natural.
• How It Works?
The Mantling System uses forward and upward traces to find climbable ledges, calculates grab and landing points, and plays a Motion Warping montage for perfect alignment; otherwise, the character just jumps.
Mantle Trace.
- The system performs a forward line trace and a sphere trace to find valid mantle points.
- Mantle Point 1 (initial hit) and Mantle Point 2 (top surface check) are calculated.
- If both are valid, the system sets Can Mantle = true.
Mantle Execution.
- Location 1 & 2 → alignment points.
- Z Offset Land → landing position offset.
- Montage Length → time scaling for smooth playback

• Key Variables
-
Initial Trace Length → Distance in front of the player to check for a ledge.
-
Secondary Trace Z Offset → Vertical check above the ledge to ensure space to climb.
-
Falling Height → Prevents mantling if falling from too high.
-
Z Offset Hand → Hand alignment offset for grabbing the ledge.
-
Z Offset Land → Landing height adjustment.
-
Montage Length → Time scaling for mantle montage playback.

• Customization
You can easily swap out the default animation or add your own custom mantling animation montage.
How to Change the Animation
- Create or import your custom animation.
- Add Motion Warping Notifiers inside montage to align the player correctly with the obstacle.
- Save the montage, it’s ready to be used in the Mantling System.

Just copy and align the Notifiers from the existing mantling animations.
Assigne the new animation at
PlayersBP<Vaulting&Mantling<Mantle(Macro).
That's all for Mantling!
Sliding System
The Sliding System allows the player character to perform a dynamic slide. It handles capsule resizing, slope continuation, obstacle detection, and smooth recovery using motion warping and custom events.
Vaulting System
The Vaulting System in the URPG Template lets your character smoothly vault over obstacles, creating a fluid and immersive movement experience.