Skip to content

Feat: physics force and impulse#1338

Merged
popuz merged 46 commits into
mainfrom
feat/physics-force-and-impulse
Mar 18, 2026
Merged

Feat: physics force and impulse#1338
popuz merged 46 commits into
mainfrom
feat/physics-force-and-impulse

Conversation

@popuz

@popuz popuz commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Implement physics force and impulse, with respective summary system and helpers

protocol PR
test-scene

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 2, 2026

Copy link
Copy Markdown

Deploying js-sdk-toolchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: 52bf3bc
Status: ✅  Deploy successful!
Preview URL: https://d28b1a09.js-sdk-toolchain.pages.dev
Branch Preview URL: https://feat-physics-force-and-impul.js-sdk-toolchain.pages.dev

View logs

popuz added a commit to decentraland/protocol that referenced this pull request Mar 2, 2026
Adds 2 components for Physics Impulse and Force which represents total Impulse/Force applied by the scene to the Entity. Currently limited only to the player entity

[js-toolchain PR](decentraland/js-sdk-toolchain#1338)
popuz added a commit to decentraland/protocol that referenced this pull request Mar 2, 2026
* feat: add name color (#350)

Co-authored-by: Kevin Szuchet <31735779+kevinszuchet@users.noreply.github.com>

* Feat: physics components for impulse and force (#363)

Adds 2 components for Physics Impulse and Force which represents total Impulse/Force applied by the scene to the Entity. Currently limited only to the player entity

[js-toolchain PR](decentraland/js-sdk-toolchain#1338)

---------

Co-authored-by: MauroCicerchia <maurocicerchia98@gmail.com>
Co-authored-by: Kevin Szuchet <31735779+kevinszuchet@users.noreply.github.com>
@github-actions

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Test this pull request

  • The @dcl/sdk package can be tested in scenes by running

    npm install "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/feat/physics-force-and-impulse/dcl-sdk-7.21.1-23252327990.commit-7f09e8f.tgz"
  • The @dcl/js-runtime package can be tested in scenes by running

    npm install "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/feat/physics-force-and-impulse/@dcl/js-runtime/dcl-js-runtime-7.21.1-23252327990.commit-7f09e8f.tgz"
  • To test with npx init

    export SDK_COMMANDS="https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/feat/physics-force-and-impulse/dcl-sdk-commands-7.21.1-23252327990.commit-7f09e8f.tgz"
    npx $SDK_COMMANDS init
  • The /changerealm command to test test in-world

    /changerealm https://sdk-team-cdn.decentraland.org/ipfs/feat/physics-force-and-impulse-e2e
    
  • You can preview this build entering:
    https://playground.decentraland.org/?sdk-branch=feat/physics-force-and-impulse

Comment thread packages/@dcl/ecs/src/systems/physics-force.ts
Comment thread packages/@dcl/ecs/src/systems/physics-force.ts Outdated
Comment thread packages/@dcl/ecs/src/systems/physics-force.ts
Comment thread packages/@dcl/ecs/src/systems/physics-force.ts Outdated
Comment thread packages/@dcl/ecs/src/systems/physics-force.ts Outdated
Co-authored-by: Gabriel Díaz <git@subsme.slmail.me>
Signed-off-by: Vitaly Popuzin <35366872+popuz@users.noreply.github.com>
Comment thread packages/@dcl/ecs/src/systems/physics.ts
popuz added a commit to decentraland/unity-explorer that referenced this pull request Mar 16, 2026
# Pull Request Description

[protocol PR](decentraland/protocol#363)
[js-toolchain PR](decentraland/js-sdk-toolchain#1338)
[sdk-test-scene PR](decentraland/sdk7-test-scenes#49)

this PR implements Explorer part of Impulse/Force applied by the SDK scene

[ref how-to wiki](https://github.com/decentraland/unity-explorer/blob/dev/docs/how-to-implement-new-sdk-components.md)

## What does this PR change?
- add component handling logic
- extract debug from the core logic system for char velocity
- expose new settings to the char controller

## Test Instructions
[QA epic](#7262) 
[sdk-test-scene PR](decentraland/sdk7-test-scenes#49)

to test this feature go to `flutterecho.dcl.eth` where there are different zones for applying force/impulse
@popuz
popuz merged commit 9f806e1 into main Mar 18, 2026
8 checks passed
@popuz
popuz deleted the feat/physics-force-and-impulse branch March 18, 2026 15:31
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.

3 participants