Skip to content

Conversation

@sebcrozet
Copy link
Member

@sebcrozet sebcrozet commented Jul 11, 2025

Modified

  • Update to Rapier 0.22.0-beta.1 which includes a fully reworked broad-phase tha supports scene queries.
    This implies a performance gain on large scenes by avoiding the need to re-build the underlying acceleration
    structure at each frame.
  • Un-deprecate methods for reading shape properties (for example collider.radius()). It turned out that these
    methods are more convenient as they are guaranteed to always be in sync with rapier’s state on wasm.
  • Add collider.translationWrtParent() and collider.rotationWrtParent() to get the collider’s transaltion/rotation
    relative to its parent rigid-body.

Fix

  • rapier-compat top level javascript files extensions have been changed from .cjs.js and .es.js to .cjs and mjs
    respectively. This results in better compatibility with NPM.

@sebcrozet sebcrozet merged commit 6277764 into master Jul 11, 2025
6 checks passed
@sebcrozet sebcrozet deleted the rapier-update branch July 11, 2025 22:34
Master-Hash pushed a commit to Master-Hash/rapier.js that referenced this pull request Jul 12, 2025
* feat: un-deprecate collider properties accessors

* feat: add functions for getting a collider’s translation/rotation wrt. its parent rigid-body

* Update to rapier 0.27.0-beta.0

* Release v0.18.0-beta.0

* chore: run prettier
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.

2 participants