|
| 1 | +# v3.1 Release Notes |
| 2 | + |
| 3 | +## API Changes |
| 4 | +- 64-bit filter categories and masks |
| 5 | +- 64-bit dynamic tree user data |
| 6 | +- Renamed `b2SmoothSegment` to `b2ChainSegment` |
| 7 | +- Cast and overlap functions modified for argument consistency |
| 8 | +- Contact begin events now provide the manifold |
| 9 | +- More consistent functions to make polygons |
| 10 | +- Contact events are now disabled by default |
| 11 | +- Replaced `b2Timer` with `uint64_t` |
| 12 | +- Shape material properties now use `b2SurfaceMaterial` |
| 13 | + |
| 14 | +## New Features |
| 15 | +- New character mover features and sample |
| 16 | +- Revised sensor system is now independent of body type and sleep |
| 17 | +- Rolling resistance and tangent speed |
| 18 | +- Friction and restitution mixing callbacks |
| 19 | +- World explosions |
| 20 | +- World access to the maximum linear speed |
| 21 | +- More control over body mass updates |
| 22 | +- Filter joint to disable collision between specific bodies |
| 23 | +- Bodies can now have names for debugging |
| 24 | +- Added `b2Body_SetTargetTransform` for kinematic bodies |
| 25 | + |
| 26 | +## Improvements |
| 27 | +- Cross-platform determinism |
| 28 | +- Custom SSE2 and Neon for significantly improved performance |
| 29 | +- SSE2 is the default instead of AVX2 |
| 30 | +- Removed SIMDE library dependency |
| 31 | +- Faster ray and shape casts |
| 32 | +- Faster continuous collision |
| 33 | +- Each segment of a chain shape may have a different surface material |
| 34 | +- Reduced overhead of restitution when not used |
| 35 | +- Implemented atomic platform wrappers eliminating the `experimental:c11atomics` flag |
| 36 | + |
| 37 | +## Bugs Fixes |
| 38 | +- Many bug fixes based on user testing |
| 39 | +- Fixed missing hit events |
| 40 | +- Capsule and polygon manifold fixes |
| 41 | +- Fixed missing contact end events |
| 42 | +- PreSolve is now called in continuous collision |
| 43 | +- Reduced clipping into chain shapes by fast bodies |
| 44 | +- Friction and restitution are now remixed in the contact solver every time step |
| 45 | +- Body move events are now correctly adjusted for time of impact |
| 46 | + |
| 47 | +## Infrastructure |
| 48 | +- Unit test for API coverage |
| 49 | +- macOS and Windows samples built in GitHub actions |
| 50 | +- CMake install |
| 51 | +- imgui and glfw versions are now pinned in FetchContent |
| 52 | +- Initial Emscripten support |
0 commit comments