So I’ve been working on implementing a walljump feature into the third person blueprint over the last couple of days. As of now the feature allows the player to lunge in the horizontal direction of the camera and slightly upward by pressing space while touching a wall. The problem is that I can’t figure out how to add the following features:
-When the player touches a wall their character model rotates to face away from the wall.
-Touching a wall gradually slows down the players speed in every direction untill they’re only moving straight downwards however slower than before.
-If the player jumps off a wall while looking towards it their character is launched a little bit away from the wall.
-If the player holds Ctrl while latched on to a wall their descent will decellerate untill they’re hanging completely still on the wall.
-I would also like to create a custom movement mode for when the player is touching a wall in hopes that it might make future expansion on this system easier. I’ve seen people use custom movements in tutorials and whatnot although I have no idea on how to make one.
Here’s what I’ve managed to throw together so far:
And here’s the “Detect Wall”-function:
Please keep in mind that this is my first ever project and I only have about a week-or-so worth of experience so please don’t assume I know anything beyond the functions of a couple of basic nodes.
Thank you in advance.
EDIT: For reference, imagine the walljump in the Megaman X series except in 3d. Here’s an example: MegaMan X Engine (C#) - Updates - YouTube If you want to get a better feel for how it works I reccomend playing it for yourself.