Skip to content

Commit c26a377

Browse files
authored
Merge pull request #777 from isaac-mason/feat/changelog
chore: update rapier.js version bump changeset
2 parents a8ac60f + 3f04e31 commit c26a377

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.changeset/lucky-buckets-act.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,26 @@ feat: bump @dimforge/rapier3d-compat from v0.15.0 to v0.19.2 (@driescroons)
66

77
See the rapier.js changelog for details: https://github.com/dimforge/rapier.js/blob/master/CHANGELOG.md
88

9-
Notable upstream rapier.js fixes:
9+
**Notable Improvements:**
10+
- **Performance:** Significant improvements for scenes with many contact constraints, CCD-enabled bodies, and large voxel maps
11+
- **Voxel Support:** Sparse storage for voxels allows orders of magnitudes larger maps without hitting 4GB WASM memory limit
12+
- **New Features:** Added `World.timing*` functions for performance profiling when `World.profilerEnabled = true`
13+
- **New Features:** Added `World.maxCcdSubsteps` getter/setter for CCD substep configuration
14+
- **New Features:** Added `Collider.translationWrtParent()` and `Collider.rotationWrtParent()` for collider transforms relative to parent rigid-body
15+
- **Memory Management:** Added `RAPIER.reserveMemory` to pre-allocate memory for future operations
16+
17+
**Bug Fixes:**
1018
- Fixed kinematic bodies not waking up when setting velocity
1119
- Fixed slow-moving kinematic bodies falling asleep
1220
- Fixed point-projection on voxel shapes
21+
- Fixed crash when removing colliders in specific order
22+
- Fixed sensor events not triggering when hitting voxel colliders
23+
- Fixed infinite loop in `collider.setVoxel`
24+
- Fixed rollup configuration for proper TypeScript types export
25+
- Fixed determinism issue on Apple M1 processors
1326

1427
**Breaking Changes:**
1528
- Removed `numAdditionalFrictionIterations` from IntegrationParameters (legacy PGS solver method)
1629
- Removed legacy PGS solver methods: `switchToStandardPgsSolver`, `switchToSmallStepsPgsSolver`, `switchToSmallStepsPgsSolverWithoutWarmstart`
17-
- Renamed `RigidBody.invPrincipalInertiaSqrt` and `.effectiveWorldInvInertiaSqrt` methods to remove the `Sqrt` suffix
30+
- Renamed `RigidBody.invPrincipalInertiaSqrt` and `.effectiveWorldInvInertiaSqrt` to `invPrincipalInertia` and `effectiveWorldInvInertia` (removed `Sqrt` suffix - now returns actual inverse angular inertia matrix instead of square root)
31+
- rapier-compat file extensions changed from `.cjs.js`/`.es.js` to `.cjs`/`.mjs` for better NPM compatibility

0 commit comments

Comments
 (0)