Stick to walls Mega Man X style

I want to be able to jump, grab a wall by holding its direction while falling, and stick to it like in the Mega Man X, Zero, and ZX series like so:


(The game is Mega Man X Next.)
I want to feature this in a state machine.

Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.

There is just a wall jump extension.

1 Like

I think wall sliding (if not possible via wall jump)
Would be doable by

Condition
INVERTED player is on floor
Player is in collision with wall
Left Key is pressed

In action you just change animation to sliding
And change falling speed or gravity or both to something lower

This would be for left wall

1 Like