Erin Catto
463ef68d12
more clean up
2026-11-17 12:18:35 -08:00
Erin Catto
eb5b8df825
clean up
2026-11-17 12:06:00 -08:00
Erin Catto
6177b4629d
clean up
2026-11-17 11:12:57 -08:00
Erin Catto
146966401f
manifold cap
2026-11-17 10:00:53 -08:00
Erin Catto
85387cfde6
replay viewer fixes
2026-11-16 20:51:34 -08:00
Erin Catto
1cc854f6bb
wip
2026-11-16 13:48:06 -08:00
Erin Catto
be8c731890
fix unit test that was timing dependent ( #217 )
2026-11-13 14:38:24 -08:00
Erin Catto
a8ac09f364
More static queries ( #216 )
...
- and a data race fix for it
- compare mesh versus heightfield
2026-11-11 17:41:42 -08:00
Erin Catto
5d6364d731
Static query ( #214 )
...
Add b3World_OverlapAABB_Static workaround. Not recommended.
Fixed a left over ghost collision
2026-11-10 23:05:04 -08:00
Erin Catto
38f2ae1e19
Reduce ghosts ( #212 )
...
Full ghost collision handling for sphere, capsule, and hull versus a
single mesh or heightfield. This requires mesh to be built with edge
identification.
Optimized mesh builder.
Removed B3_MAX_MESH_CONTACT_TRIANGLES. You will still hit performance
problems for dense meshes. Fixes #184
2026-11-10 21:53:10 -08:00
Erin Catto
3362633204
Dynamic Mover ( #202 )
...
Port the dynamic character mover from Box2D including the mover joint
and pogo joint.
Match the mover and sample structure of Box2D.
2026-10-27 22:33:17 -07:00
Erin Catto
f36d061ba2
CMake improvements ( #201 )
...
- Update CMake to parity with Box2D. Removed BOX3D_AVX2 due to runtime
dispatch.
- CI fixes for ubuntu
- Doxygen refresh from Box2D
2026-10-20 15:15:20 -07:00
Erin Catto
efca0c184d
Gyro tolerance ( #191 )
2026-10-15 23:30:56 -07:00
Erin Catto
0cfc475b88
Solver stuff ( #189 )
2026-10-14 22:20:52 -07:00
Erin Catto
8128d7405e
Discussion template ( #185 )
2026-10-13 11:02:43 -07:00
Erin Catto
a2e4816b43
Fixes for #175 ( #187 )
...
See #175
It is LLM so verbose and lacking context, but it did find a couple
things worth fixing.
2026-10-12 21:46:51 -07:00
Erin Catto
5d83df83ab
Improve compound serialization ( #183 )
...
- no more pointer fixups
- reduced storage 20% by removing leaf proxies
2026-10-07 14:48:58 -07:00
Erin Catto
3d9db79ee1
various recording fixes ( #182 )
2026-10-06 22:45:33 -07:00
Erin Catto
003a3f7728
Fix recording crash on compounds ( #181 )
2026-10-06 17:33:29 -07:00
Erin Catto
f8c4fe83df
Shape cast support for box movers ( #180 )
...
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2026-10-06 16:43:20 -07:00
Erin Catto
16f7f4cf4c
Tree perf ( #179 )
...
- Optimizations for falling trees.
- Increased B3_MAX_MESH_CONTACT_TRIANGLES from 256 to 512.
2026-10-06 09:51:48 -07:00
Ethan Rutherford
e77352cd60
Add support for AVX2 and runtime feature detection ( #174 )
...
- [x] run unit tests
- [x] run all samples
2026-10-03 15:14:34 -07:00
Erin Catto
51f056e0a9
SAT benchmark ( #177 )
2026-10-02 20:47:05 -07:00
Erin Catto
9f998c862d
SAT samples ( #173 )
2026-09-27 14:39:11 -07:00
Erin Catto
5643cd81ff
Remove compound mesh child material limit. ( #172 )
2026-09-25 14:56:44 -07:00
Erin Catto
adec25b301
SAT optimizations ( #170 )
...
Use hull inner spheres to speed up SAT, especially for complex hulls.
2026-09-24 21:16:19 -07:00
Erin Catto
8fda30e5a2
Update UI ( #169 )
...
Port Box2D UI update
2026-09-24 13:43:40 -07:00
Erin Catto
79fc55976a
Optimizations ( #168 )
...
- Optimize contact prepare
- Back to post restitution stage
- Optimize solver math
- Bug fixes
2026-09-24 12:21:17 -07:00
Erin Catto
9e5a4cde86
Optimizations ( #161 )
...
- cache body sim indices and split out fat aabb
- deferred restitution
- the manifold point normal velocity is only computed for restitution or
hit events, otherwise it is zero
2026-09-20 15:54:52 -07:00
Erin Catto
f555ee4208
Optimize Broad-Phase ( #159 )
...
Broad-phase optimization ported from Box2D.
2026-09-16 22:28:39 -07:00
Erin Catto
954cf879e7
Fixes ( #157 )
...
- Added b3BodyDef::safetyFactor for CCD tuning
- #155
- #153
- #148
- #149
2026-09-16 15:46:31 -07:00
Erin Catto
47d7f7cc7e
clockwise option, joint is awake ( #130 )
...
- b3MeshDef gets stride and clockwise option
- Added b3Joint_IsAwake
- Added b3Body_TimeOfImpactMover
- #116
- Smoother mover collision: #141
- Shape casts now ignore backside collision on mesh and height-field
triangles, same as ray casts.
2026-08-29 21:47:53 -07:00
Erin Catto
30c67b5e6d
Fixed the 64-bit hash function and added unit test ( #129 )
...
The 64-bit hash function was not well tested and had a bad optimization.
Switched to using rapidhash: https://github.com/Nicoshev/rapidhash
2026-08-12 17:13:26 -07:00
Erin Catto
f42be210a2
64-bit hashes ( #126 )
...
- ContactEvent sample
- Improved shadows
- #120
- Triangle collision fixes
2026-08-11 18:08:34 -07:00
Erin Catto
3fc20f5b45
Follow cam ( #107 )
...
- follow cam in replay viewer
- world text with halo
- fixed sensor crash
- sensor visitors must now be convex
2026-07-29 22:14:26 -07:00
Erin Catto
781673be80
Fixes 09 ( #104 )
...
- #86
- #88
- #87
- #89
2026-07-24 21:48:23 -07:00
Erin Catto
c52908c9a9
Fixes 08 ( #98 )
...
- fix hull builder face and edge leak
- fix #95
- samples app will no longer crash if data folder is not found
2026-07-22 15:55:02 -07:00
Erin Catto
23861418d8
Fixes 07 ( #97 )
...
#84
#82
Added B3_RESTITUTION_ITERATIONS to override restitution iterations.
Fix regression in hull stacking stability.
2026-07-20 22:05:11 -07:00
Erin Catto
dfa5e6add0
Fixing issues ( #94 )
...
- option to draw kinematic shapes with transparency
- slight change to triangle vs hull to reduce ghost collisions
- changed return of b3DebugDraw.DrawShapeFcn to void
#66
#48
#69
#75
#76
2026-07-19 21:43:43 -07:00
Erin Catto
c37cfe4cd7
SIMD hull collision ( #93 )
...
SIMD based hull collision inspired by example code from @cairnc in #54
<img width="1676" height="1332" alt="image"
src="https://github.com/user-attachments/assets/58b137bd-bf7b-4c99-863c-64341b973a3d "
/>
- Fixed #78
- Fixed #85 and fixed CI to error on UB.
- Updated benchmarks
- Added AMD scalar benchmarks
- Added Neon benchmarks
- More determinism unit tests
- Sample leak detection
- Added b3Body_AllowFastRotation
- Added b3Body_IsFastRotationAllowed
- Bumped b3HullData version
- Bumped b3CompoundData version
2026-07-18 22:43:03 -07:00
Erin Catto
d421e45c82
Update benchmarks ( #77 )
...
The large pyramid got larger, not slower.
Renamed b3CreateCompound to b3CreateBakedCompound and added some
comments. There is confusion between run-time compounds and baked
compounds.
2026-07-12 22:49:25 -07:00
Erin Catto
e961bfb7bf
Friction center weighted average ( #71 )
...
The central friction anchors now have C0 continuity by using a weighted
average. Reduces jitter while letting the spinning top function
correctly.
Fixes #65
2026-07-11 23:26:31 -07:00
Erin Catto
e9f6f1d0aa
Add benchmark ( #67 )
...
Added benchmark from PEEL.
Implement #60
2026-07-10 23:21:37 -07:00
Erin Catto
aaa795e34f
Edge edge optimization ( #63 )
...
From #54
2026-07-10 16:14:53 -07:00
Erin Catto
ef8ef0187a
Ghost collision improvements ( #61 )
...
- flag to disable hull-mesh speculative collision
- faster atomics #55
- fix triangle vs hull logic
- fix #58 and #59
- improved shadows in samples app, a bit more expensive
2026-07-08 23:53:06 -07:00
Erin Catto
52f1a254ad
Name cache ( #53 )
...
Removed B3_BODY_NAME_LENGTH and B3_SHAPE_NAME_LENGTH.
Now using a name cache instead to save memory and make recordings more
universal.
This is a recording version bump.
2026-07-06 17:33:45 -07:00
Erin Catto
540ea387b0
Draw sleep velocity ( #49 )
...
- draw sleep velocity for debugging
- added back shape names with B3_SHAPE_NAME_LENGTH
- zup command line option
2026-07-05 00:33:00 -07:00
Erin Catto
0f6fdad541
Set mass data consistent velocity ( #45 )
...
- Rename b3Body_GetWorldCenterOfMass to b3Body_GetWorldCenter.
- Rename b3Body_GetLocalCenterOfMass to b3Body_GetLocalCenter.
- Fixed b3Body_SetMassData to correct velocity when local center moves.
2026-07-04 11:22:29 -07:00
Erin Catto
1bec63c9ee
Draw distance slider ( #44 )
...
Helps render performance on integrated GPUs.
Added render culling for baked compounds.
2026-07-03 20:26:19 -07:00
Erin Catto
655799893a
Fixes 03 ( #40 )
...
Fixes #33 , #34 , #35 , #37 , #39 , #41 , #42 , #43
Also fixes b3Body_SetMassData inertia tensor.
2026-07-03 17:15:03 -07:00