# GASP and Traversing Moving Obstacles

**URL:** <https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [August 16, 2025, 9:18pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117 "2025-08-16T21:18:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 16, 2025, 9:18pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/1 "2025-08-16T21:18:08Z")

</div>

Hello Forums.

Does anyone know how to properly traverse a moving object in GASP?

I have tried attach actor to actor and the detach from actor (will all types of settings) but I keep running into a problem. The character glitches out a little and if the object is moving towards you, then you end up going through it a bit before traversing, which makes you appear to be traversing in mid air or inside the object. I have uploaded a short video so you can see what I mean.

Any ideas?

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 17, 2025, 8:10pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/2 "2025-08-17T20:10:48Z")

</div>

I have since tried adding an actor world offset to the player when overlapping a box on either side, it helps about 50% of the time, but character still slips into the obstacle a lot.

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 17, 2025, 9:47pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/3 "2025-08-17T21:47:22Z")

</div>

Is this running is a single player or multiplayer environment?

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 18, 2025, 8:46am UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/4 "2025-08-18T08:46:42Z")

</div>

Single Player

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 18, 2025, 4:59pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/5 "2025-08-18T16:59:36Z")

</div>

I have sort of made some progress. I Have added sockets to the mesh. Then I use get all sockets and find the closest one, set actor location to that socket and attach actor to the socket until the traversal is complete.

Its kind of bad execution wise and doesn’t quite feel right. Even if I Add a quick timeline to lerp the location, I still get some clipping issues and takes a lot of adjusting the sockets so the animation line up correctly.

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 18, 2025, 7:02pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/6 "2025-08-18T19:02:20Z")

</div>

Can you get the actor velocity in the frame that the platform is changing direction? My gut feeling is that should be at rest on the box but for some reason is different and that confuses the movement controller or the animation system.

Also try to stay completely still on top of the platform to see ho the character behaves.

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 18, 2025, 9:02pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/7 "2025-08-18T21:02:03Z")

</div>

Not going to lie, I’m having some real difficulty figuring this one out.

How would I get the actor velocity and adjust my character to match the velocity until the traversal action is finished?

I mean it sort of almost does by attaching actor to actor OR actor to component. Its just off on the connection.

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 18, 2025, 9:28pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/8 "2025-08-18T21:28:51Z")

</div>

In my opinion your initial approach is correct. Attaching is the way to go.

I am not sure how and when you are attaching the character. If attaching to sockets fixes the problem it is obvious that in your first iteration you use incorrect position. There is also a slim chance that you take the correct position but then in the same frame the platform moves. It’s worth trying to tinker around with the tick order for the platform. (before/after/during physics)

If you want to mach the motion perfectly you should probably attach the character from the moment the player hits the button. Of course you should check if they would succeed or not based on distance speed and height of the platform but being attached you can continuously adjust the character local position until they land exactly where you want them.

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 19, 2025, 7:58pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/9 "2025-08-19T19:58:23Z")

</div>

I’m at a loss here. I have tried just about everything I can think of and even tried a lot of similar solutions found online. I Believe you are correct that when attaching the actor, the block has moved too far since attachment. Even using set location or using a timeline does not get it anywhere close. I have tried changing all tick settings, but no success.

There’s no delay in the attachment, it is immediate. I can’t believe no one else out there has had this problem and solved it. Its a real head scratcher. It should just simply work, i don’t understand why is doesn’t.

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 19, 2025, 9:00pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/10 "2025-08-19T21:00:00Z")

</div>

Can you show us the BP where you attach the two actors?

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 21, 2025, 3:27pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/11 "2025-08-21T15:27:47Z")

</div>

I have made some progress, I can get the player to climb onto the moving actor at the front and back, but the sides are still a bit dodgy. I will post a video in a bit to show you. Here’s the blueprints:

[Moving Check posted by anonymous | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/8smim8qy/)

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 21, 2025, 3:36pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/12 "2025-08-21T15:36:02Z")

</div>

Still having some issues if I try to get on the actor when it changes direction.

Edit: Figured out this is because of the root motion in the animations. If I change the root motion mode then the player just does the animation in place, which is not the desired result. Once again I will have to keep researching.

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 23, 2025, 8:50pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/13 "2025-08-23T20:50:47Z")

</div>

I have done some more work on this and its getting closer. Still has a few small issues.

1.) Sometimes the Z height of the character goes above what it should.

2.) After climbing onto the moving actor, character will bump up or down a little bit, probably because its not getting the right height

3.) Every now and then it won’t move to the correct location and climb onto nothing, while still moving (attached) to the other actor.

This:

[Check If Traversal Is Moving posted by anonymous | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/52dp4wtl/)

Goes into This:

 ![CBP_Sandbox_Character](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/8/2c8f57efaac78fc3ee43c2805f79d94c8689d66e.png)

Which then goes into this:

[Moving Traversal Graph posted by anonymous | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/t8cdapp1/)

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 23, 2025, 11:31pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/14 "2025-08-23T23:31:10Z")

</div>

You are going further than I can follow 🙂

I haven’t tried attaching moving actors.

I still have the nagging feeling your problems might stem from the order of execution of the movements.

Can you show me the blueprint that attaches the two actors together?

Also how do you actually move the capsule on top of the box? Is it moved by a root motion animation or do you move it with BPs?

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 24, 2025, 8:14am UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/15 "2025-08-24T08:14:23Z")

</div>

![K2Node_Composite_0-Check If Traversal Is Moving](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/c/31c3085d9df6d308cd796a36d56fb149578ce60f.jpeg)

 ![Untitled](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/0/ea08dc24bbd14739a8ae742c4da7a3cdd3da2f8a.jpeg)

Root Motion drives the animation to climb on top, I only move the character to the x and y of the moving objects socket so the animation lines up.

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 24, 2025, 9:44am UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/16 "2025-08-24T09:44:32Z")

</div>

> [@Z3R0K0](#):
>
> 1.) Sometimes the Z height of the character goes above what it should.

Just made a brand new G.A.S.P project to test this. This is a bug in the original project too.

If you are tracing by holding down the jump button, climb on the traversable, then drop off the traversable you just climbed, then climb onto it again from the floor while still holding space, if will cause this bug where you climb on a lot higher than you are supposed to.

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [August 24, 2025, 2:49pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/17 "2025-08-24T14:49:40Z")

</div>

I am sorry but the resolution does not allow me to read you BPs.

Can you try disabling the root motion and checking how it behaves. I know it would look bad but I’m trying to isolate the problem.

> 1.) Sometimes the Z height of the character goes above what it should.

Sounds like the height is not resting after the climb and on the second climb is added again for “double climb” in the air.

> 2.) After climbing onto the moving actor, character will bump up or down a little bit, probably because its not getting the right height

Sounds reasonable. How is the height calculated?

> 3.) Every now and then it won’t move to the correct location and climb onto nothing, while still moving (attached) to the other actor.

From the video I see the char starting to climb properly but on the pull-up, being yanked back to their original position. Something breaks and I think the root motion is fighting for control or the attachment fails but I might be wrong.

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 24, 2025, 5:14pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/18 "2025-08-24T17:14:44Z")

</div>

These are my blueprints uploaded to imgur for better quality.

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/d/c5de2c6004b04c5972787b2644b6110673839e9f.jpeg "imgur.com") ](https://imgur.com/a/IMWJmZC)

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/f/edf8d399a0dd0849c1391a206323ea2f76fe74f1.png "imgur.com") ](https://imgur.com/a/buAh1iP)

The height is calculated by the “Try Traversal Action” in the GASP standard project.

[[Album] Imgur: The magic of the Internet ![](https://i.imgur.com/rJs8qZy.jpeg?fb "Imgur: The magic of the Internet") ](https://imgur.com/a/Njy8AF1)

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 26, 2025, 7:07pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/19 "2025-08-26T19:07:26Z")

</div>

> [@dZh0](#):
>
> From the video I see the char starting to climb properly but on the pull-up, being yanked back to their original position. Something breaks and I think the root motion is fighting for control or the attachment fails but I might be wrong.

[[Album] imgur.com ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/4/e8498d26a51eef1bc398419ee7a5e7fb82d53635.png "imgur.com") ](https://imgur.com/a/Lj256A1)

[Moving Traversable Climber posted by anonymous | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/ez6simiv/)

Re-organised all the code into one graph. (Except for the detection of a moving traversable actor, but that’s irrelevant to this code.)

I have made some great progress with this today. It now seems to work perfectly every time, except for the bug where it climbs slightly higher than it should some times (Bug is also present in the un-edited version of G.A.S.P. I should probably send them a bug report)

Video to follow soon.

---

<div class="post-metadata">

**Author:** ![Z3R0K0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Post date:** [August 26, 2025, 8:26pm UTC](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117/20 "2025-08-26T20:26:51Z")

</div>

Still randomly getting the issue where it climbs too high.

[Next page](https://forums.unrealengine.com/t/gasp-and-traversing-moving-obstacles/2644117.md?page=2)
