Commit graph box3d/samples/sample_manifold.cpp
Author SHA1 Message Date
Erin Catto
1fa462d71e CI fix 2026-11-09 20:23:26 -08:00
Erin Catto
b0825bc167 ghost oracle and cleanup 2026-11-09 17:38:43 -08:00
Erin Catto
8f2c260620 improve hull versus triangle voronoi selection 2026-11-09 16:26:25 -08:00
Erin Catto
d624766043 clean up 2026-11-09 12:08:29 -08:00
Erin Catto
0fb0fdc1ec comments and images 2026-11-08 15:58:26 -08:00
Erin Catto
e51c0d7a1e comments
sphere ghost manifold sample
2026-11-08 10:54:50 -08:00
Erin Catto
ce07848c96 vertex ring 2026-11-06 23:00:39 -08:00
Erin Catto
f0ed536b39 simplify 2026-11-06 21:41:52 -08:00
Erin Catto
f533aa5a70 use dihedral for edge 2026-11-06 14:45:29 -08:00
Erin Catto
590ab5a7d9 add a small amount of debug data to manifolds
refine edge contact rule
2026-11-03 17:40:11 -08:00
Erin Catto
b2747eb2b8 faster mesh edge identification
fix for cylinder tunneling in soak
2026-11-02 14:05:15 -08:00
Erin Catto
1170814dee improve vertex handling 2026-11-01 22:48:05 -08:00
Erin Catto
01475134fc testing 2026-11-01 12:24:52 -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
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
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
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
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
9e02b7f3b3
New sample renderer and UI (#10)
No changes to simulation
2026-06-06 10:06:05 -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
573e1a9fa3 initial commit 2026-05-10 13:36:52 -07:00