Commit graph box3d/samples
Author SHA1 Message Date
Erin Catto
69037feaba
Build polish (#18)
Improve build process and documentation.
Improved ray versus capsule accuracy.
UI improvements
2026-06-28 10:44:34 -07:00
Erin Catto
0c8ef46931
Replay fixes (#17)
Fixes to work with our game.
Replay fixes and improvements.
Removed shape names (save memory).
B3_DEFAULT_CATEGORY_BITS  is now UINT64_MAX to make selection easier.
2026-06-26 21:10:10 -07:00
Erin Catto
5c9b516486
Replay (#16)
Recording and replay system for Box3D. Ported from Box2D.

b3HeightField is now b3HeightFieldData and is a blob.
2026-06-20 23:35:04 -07:00
Erin Catto
09c65b08ea
Doubles (#14)
Added a compile time option to use double precision body positions. Most
math remains single precision with minimal performance loss.

`BOX3D_DOUBLE_PRECISION`

Improved accuracy of body inertia computation when shapes are far from
the body origin.

WARNING: several APIs changed but migration should be straight forward
if doubles are not enabled.
2026-06-18 20:51:16 -07:00
Erin Catto
a252f03b19
Hull sharing (#13)
Save memory when there are many duplicate hulls. Can improve performance
in some cases.

For consistency with b3MeshData, b3Hull is renamed to b3HullData.
2026-06-11 22:39:26 -07:00
Erin Catto
d8fbeb444e
Doxygen comments (#12)
- organized headers.
- added comments to headers.
- fixed a solver determinism bug.
- removed some un-used math functions
2026-06-10 13:21:14 -07:00
Erin Catto
9e02b7f3b3
New sample renderer and UI (#10)
No changes to simulation
2026-06-06 10:06:05 -07:00
Erin Catto
48d9f1dd5a
More body flag fixes (#9)
better name handling
2026-05-29 21:35:38 -07:00
Erin Catto
37e8d26bd5
Fix for deep mover overlap on hulls (#8)
Get world bounds
Update build.yml
2026-05-23 12:04:16 -07:00
Erin Catto
79cc160275
Sync body flags (#7)
- Fixed mesh point culling for vertically stacked points
- Fixed two point capsule vs capsule normal
- Fixed bug where body flags can go out of sync
- Added tests
- Updated benchmarks
2026-05-16 23:27:25 -07:00
Erin Catto
758dc665dd
Height field fixes (#6)
Fix for height field flat edges
Fix for height field shape cast
Made B3_REST_OFFSET and official constant
2026-05-14 23:44:39 -07:00
Erin Catto
aedb0e34aa
Move set is now a bitset to support large worlds (#5)
Added supporting benchmark
2026-05-13 21:01:34 -07:00
Erin Catto
9b4aa025ef
Linux fixes (#3) 2026-05-12 22:24:23 -07:00
Erin Catto
7216822064
Bug fixes and minor features (#2)
- API to query compounds directly.
- Fix some uninitialized stuff (thanks MSAN).
- Fix for store impulses on overflow.
- AABB margin reduced for small shapes
- body contact recycling option
- angular threshold for contact recycling
- reduce AABB margin on smaller shapes
- fix for hull vs tri when axis aligned
- fully locked rotation uses zero inverse inertia
2026-05-12 15:24:20 -07:00
Erin Catto
d7816a0a58
Tree benchmarks (#1)
Handle arena overflow
Align hull and mesh data
2026-05-10 23:50:16 -07:00
Erin Catto
573e1a9fa3 initial commit 2026-05-10 13:36:52 -07:00