Skip to content

feat: disable double jump and gliding#357

Merged
daniele-dcl merged 2 commits intomainfrom
feat/disable-double-jump-and-gliding
Mar 4, 2026
Merged

feat: disable double jump and gliding#357
daniele-dcl merged 2 commits intomainfrom
feat/disable-double-jump-and-gliding

Conversation

@daniele-dcl
Copy link
Contributor

@daniele-dcl daniele-dcl commented Feb 16, 2026

Adds flags to the input modifier component to disable double jump and gliding.

SDK PR: decentraland/js-sdk-toolchain#1323

@daniele-dcl daniele-dcl self-assigned this Feb 16, 2026
@github-actions
Copy link

github-actions bot commented Feb 16, 2026

Test this pull request

  • The @dcl/protocol package can be tested in scenes by running
    npm install "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-22663758414.commit-02952b5.tgz"

@robtfm
Copy link
Contributor

robtfm commented Feb 27, 2026

I think it would be better if these were disabled by default, but if the component is not present we auto-enable. this extends better for future as well.

basically, if a scene cares about movement control, it adds the InputModifier. this means the scene has a "known base movement capability" which does not include double jump or any other future things. if the scene WANTS that feature it can explicitly enable it.

if scenes are not parkour-style / don't care about movement control, they do not add the component. the engine defaults to everything enabled so that the new features work in scenes that don't disable them.

@daniele-dcl daniele-dcl merged commit 25aa736 into main Mar 4, 2026
3 checks passed
@daniele-dcl daniele-dcl deleted the feat/disable-double-jump-and-gliding branch March 4, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants