Humanoid.JumpingEnabled

Not every game is a platformer. Developers should have the option to easily and certainly disable jumping.

[quote] http://wiki.roblox.com/index.php?title=Controller
http://wiki.roblox.com/index.php?title=Button_(Enum) [/quote]

Wow, I have to try this.

[quote] http://wiki.roblox.com/index.php?title=Controller
http://wiki.roblox.com/index.php?title=Button_(Enum) [/quote]

Not sure what you’re referring to. As I understand it, BindButton and UnbindButton are used in skateboards to create the “Press Backspace to dismount” label. I tried it anyway and nothing happened. Did I do something wrong?

game:GetService'ControllerService':GetChildren()[1]:UnbindButton(Enum.Button.Jump)

[quote] http://wiki.roblox.com/index.php?title=Controller
http://wiki.roblox.com/index.php?title=Button_(Enum) [/quote]

Not sure what you’re referring to. As I understand it, BindButton and UnbindButton are used in skateboards to create the “Press Backspace to dismount” label. I tried it anyway and nothing happened. Did I do something wrong?

game:GetService'ControllerService':GetChildren()[1]:UnbindButton(Enum.Button.Jump)

Support, kind of, a “Jump Factor” would be better and still support your idea.

You can also set humanoid Jump to constantly be set to false and this will prevent any jumping.

a toggle in humanoid would be better.

[quote] [quote=“xSIXx” post=67778]http://wiki.roblox.com/index.php?title=Controller
http://wiki.roblox.com/index.php?title=Button_(Enum) [/quote]

Not sure what you’re referring to. As I understand it, BindButton and UnbindButton are used in skateboards to create the “Press Backspace to dismount” label. I tried it anyway and nothing happened. Did I do something wrong?

game:GetService'ControllerService':GetChildren()[1]:UnbindButton(Enum.Button.Jump)

Support, kind of, a “Jump Factor” would be better and still support your idea.[/quote]

Actually, no, it would only support your idea if if this jump factor was set to 0, your body wouldn’t move at all.

game:GetService("ControllerService").Instance:BindButton(32, "")

does that work? i was thinking it would override the spacebar.

if not, last time i checked, this works:

humanoid.Changed:connect(function(p) humanoid.Jump = false end)

[quote] game:GetService("ControllerService").Instance:BindButton(32, "")

does that work? i was thinking it would override the spacebar.

if not, last time i checked, this works:

humanoid.Changed:connect(function(p) humanoid.Jump = false end) [/quote]

Thanks for that. I was using a similar method but I was using .Jumping instead of .Changed, which apparently doesn’t work…

It’s kind of stupid that there is not a straightforwards non-hacky option somewhere to disable jumping, I’ll see if I can get some traction for the idea.

As far as I know, the Controller bind/unbind functions are entirely useless. I’ve tried so hard to disable Backspace with it so players can’t escape PlatformStand to no avail.

[quote] It’s kind of stupid that there is not a straightforwards non-hacky option somewhere to disable jumping, I’ll see if I can get some traction for the idea. [/quote]If you can, please try for a Humanoid.JumpHeight value. We have no good way to set the jump height either. Body forces do not work due to varied hat weights, and with an integer you could disable jumping by setting it to 0.

I have no idea how the humanoid handles jumping but it’s one of the only things humanoids do that ignore hat weight, so being able to control its height would be amazing.

“please try for a Humanoid.JumpHeight value.”

JumpHeight isn’t possible because the engine doesn’t know how high the humanoid is actually going to jump, it just knows how much force / velocity it’s applying to initiate the jump.

Modifying the velocity on the jump event is the idiomatic Roblox way to modify jumping height.

[quote] “please try for a Humanoid.JumpHeight value.”

JumpHeight isn’t possible because the engine doesn’t know how high the humanoid is actually going to jump, it just knows how much force / velocity it’s applying to initiate the jump.

Modifying the velocity on the jump event is the idiomatic Roblox way to modify jumping height. [/quote]Well, it accomplishes the same goal, so that’d be nice to have. Even having the default be 1 and then 2 be double jump height while 0 disables jumping would be A-OK- as long as it gives us an option to change the jump velocity.