We cleaned up a messy drop-to-ledge setup by splitting timelines, centralizing starts and stops, and letting root motion drive climb-up when it looks better. You will see how to gate player input until attachment finishes, when to ignore root motion, and how to trigger rotation and placement at the right moments.
Great for indie devs and intermediate UE5 learners who want a solid, AAA-feeling attach without spaghetti graphs.
Most valuable lessons and insights:
Make sure to separate attach cases: one flow for midair catch and another for drop-from-box. This keeps timelines short and predictable.
Make sure to centralize timeline control. Store timeline refs and call Stop or Play From Start from clean custom events to avoid spaghetti.
Make sure to try root motion only for climb up. It looked smoother than timelines, so we disabled timelines there and let the animation drive the capsule.
Make sure to block player input until both attach timelines finish. This prevents early movement from fighting your correction.
Make sure to set or save CurrentLocation before any delay. If it stays at 0,0,0 the lerp will teleport from world origin.
Chapters
00:00:00 Hello and goal - organize the drop-to-ledge graph
00:03:48 Freehang mention and plan
00:07:57 Refactoring four timelines and naming them clearly
00:10:48 Centralizing Start and Stop for timelines
00:14:40 Animation questions and updated climb up montage
00:21:55 Root motion only for climb up - timelines off
00:23:21 Falling state tweaks and detach behavior
00:30:21 Cleaning unused code and standing by logic
00:37:54 Final flow walkthrough - midair vs drop-from-box
00:44:04 Timeline lengths, delays, and notify timing
00:50:55 Wrap up and next steps
📁 Resources & links
Download all the project files from all the livestreams:
/ locodev
Document of the Ledge System(work in progress
): https://docs.google.com/document/d/1z...
📌 Unreal Engine Version used: UE5.5
Link of the animations I'm using: https://www.fab.com/listings/fbfda52a...
👇 Follow me on social media:
Discord Server: / discord
Twitter: / locodev7701
Instagram: / devloco