Using Force to push player character along a sloped surface (player needs to be able to slide up and down the slope and generate speed)

Hey Community,

Thanks in advance to anyone that can assist me I really appreciate it!

So I’m trying to create a physical force that will push the player character along a sloped wall. I’ve tried using a physics thruster but I can only get it to move objects and not the character. Ideally I would like to set the blueprint so that when the player enters this force zone they enter a slide and is pushed along the surface and can gain velocity while moving. any assistance as to what physics functions I should be using to achieve this effect.

Thank you!!

Even without using any script whatsoever, with just those two:

Gets you:

Is this good enough or do you need actual zones that propel the player in a specific direction?


You can derive slope form the floor:

Hey Firstly thanks so much for helping me out!

Thats the idea but rather then falling down a slope and sliding. I want the character to be pushed along a horizontal sloped wall. like in this picture…

The wall runs for around 30m and I want the character to be pushed along the wall. While having control of their movement up and down. Hoping that when they move up or down it generates speed along the wall.

The player goes :red_circle: right and can shift :green_circle: up & down?

Yeah thats the idea and jump from the top and be carried along the wall so like they are sliding along a wind tunnel but have control of their movements

1 Like

This part makes more sense now! Lemme have a think.

This part sounds like it’s just this:

Hoping that when they move up or down it generates speed along the wall.

Not sure what to think about this bit, though. How does it work? The faster the player wiggles around up and down, the faster they slide along?

thats what I’m looking for thank you! The idea is to be able to add these force zones along the wall so that when you move up and down you pump into and out of them so they push you along the wall. So its like a controlled wall slide with more player control, if that makes sense. So from here I should be able to add a slide animation and they will be in a sliding position instead of running?

As for building the windtunnel. I’m at this stage but can’t find "On Component Begin Overlap (Box) this is where I’m at…

Again really appreciate the help when I finish the game your getting a free copy.

then this is my viewport view…

Or you can search:

image

But actor overlap would work, too. Component is more granular in case you have more than one.

Somehow I still do not understand how this is supposed to work. Can we see a sketch? A rough diagram with some wonky arrows?

At this point I feel like you want to constraint the plane of movement of the player somehow. There’s a lot of nuance that can be built into this, ofc, depending on how much control is needed. Or perhaps the end result should be closer to:

But the player can wiggle around a wee bit?

I Managed to get the desired effect by sliding along the wall while adjusting the Walking speed parameters so that the character continues moving forward even after you stop pressing forward that way they kind of drift along the wall. Like a controlled, Pushed wall slide. Thank you so much for your help your a champion!

I’m sure my next obsticle is just around the corner :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.