How to have the player NOT move when on a moving surface

Hello
im new to unreal and I wanted to make an endless runner but i have a problem :
my obstacles are moving toward the player, which can only jump, it’s not actually moving
so when the player jump on an obstacle like this one

it stays on the surface and get dragged to the left, while i want the obstacle to “slide” under the player

How do i do that ? I tried messing with the friction but it doesn’t seem to work

In another way, i think the most convenient solution for what i’m trying to achieve would be to have my player always move toward the spawn point on the X axis (like in a AI move to), so that it “keeps up” with the camera after being pushed by an obstacle, but i dont know how to do that :confused:

1 Like

There is a node called enable charachter movement. Whenever that objects overlaps with your chars charachter disable its movement.

Try this:

Depending on how the world is aligned, you may need another axis. And you will need to decide what happens when the player fails to jump high enough in time and gets hit with the side.

Thank you so much it worked ! you just saved my life

1 Like