Turning off jump capabilities

Hi all,

I was wondering if it’s possible to turn off jump capabilities for a character through blueprints.
Setting the jump velocity to 0 does not work, as although the player may not leave the ground, there is this weird stutter with the character. I’d rather turn this off completely through blueprints if possible.

Hi ,

Go in to character and unhook the jump section. If you want to turn on and off at will, you could use a bool and branches.

45066-capture.jpg

45067-capture.jpg

1 Like

The charactermovement component also has an ‘canJump’ variable. Is there any way to turn that off?

If not then this will do.

1 Like

As far as I know, those variables are inherited and you can’t delete them unless you get in Engine Source code and delete from there.

If you just want to do it BP, what Mr says is more than enough. :slight_smile:

For some reason this variable isn’t editable through blueprint so you’ll have to just make a seemingly redundant variable in this case. It’s not a big deal in the long run but as far as I can tell that variable doesn’t have a “set” function through blueprint.

8 years have passed. But this still comes up as first results. Now you can just override the CanJump function and return False.

I don’t see a “Set Can Jump” in 5.2

Check my answer. Turning off jump capabilities - #6 by CatClicli
It’s not a bool, it’s a function you can override.