- Sep 13, 2024
-
-
mr cino authored
-
- Jun 19, 2024
-
-
mr cino authored
-
- May 31, 2024
-
-
Erin Catto authored
Sensor sleeping was broken and asserting. Fixing sensor flags and testing sensors more. Fixes #162
-
- May 29, 2024
-
-
Erin Catto authored
Added sample with custom filter
-
- May 28, 2024
-
-
Erin Catto authored
More include file consolidation, simplification. Remove block allocator after testing showed it didn't improve performance but used a lot more memory. Broad-phase mover buffer now using mask bits for faster pair management. (will be reverted since it breaks filter groups). User manual updated for v3.
-
- May 19, 2024
-
-
Erin Catto authored
Cleaned up all doxygen comments in include directory. Cleaned up SDF shaders for border thickness. Joint reaction forces and sample with breakable joints. User can adjust length units using b2SetLengthUnitsPerMeter Simplified include files
-
- May 16, 2024
-
-
Erin Catto authored
I got some feedback on shadertoy about my SDF renderer. So fixing up those and removing the arbitrary zoom multiplier. Added max force to mouse joint. todo - add max force to mouse joint def
-
- May 12, 2024
-
-
Erin Catto authored
Springs for prismatic and revolute joints. Can disable spring on wheel joint.
-
- May 10, 2024
-
-
Erin Catto authored
Added hit events with world level velocity threshold. Optional per shape. Events available after time step. Added motors to distance joints.
-
- May 05, 2024
-
-
Erin Catto authored
New render primitives. Large world testing. Memory stats. Bug fixes. Option to disable automatic mass computation to avoid n-squared computation on compounds. Explosion function. Per body sleep threshold that uses max extents for rotation sleeping Hex color for all debug draw. Option to draw using camera bounds for large world testing. Has minor sorting problem. Option to create contacts when static shapes are created or destroyed.
-
- Apr 27, 2024
-
-
Erin Catto authored
Added sample that shows how to connect two chain shapes. b2Rot now has cosine first. Fixed polygon versus smooth segment collision for concave portion. Shapes are now connected to bodies using a doubly linked list for fast removal. API structures now using int32_t instead of int for easier binding. fixes #117 fixes #105
-
- Apr 26, 2024
-
-
Erin Catto authored
fix #150 fix #147 fix #138
-
- Apr 25, 2024
-
-
Erin Catto authored
- more sanitizer usage, delayed by an enkiTS issue: https://github.com/dougbinks/enkiTS/issues/125 - fix #145 - address #144 - fix #141
-
- Apr 24, 2024
-
-
Erin Catto authored
Validation only for internal debug build. Disable sample app in CI. Fix #146
-
- Apr 22, 2024
-
-
Erin Catto authored
Refactored internal storage to use solver sets for improved memory locality and improved performance as a result. There is now a hot/cold split for bodies, contacts, and joints. This is a huge change as the layout of memory has changed completely. Some things, such as enable/disable bodies and changing the body type are quite complex now. So this required a lot of testing and validation code. Bodies, contacts, and joints data is now moved when an island goes to sleep or wakes up. Static bodies exist in their own solver set, but this is hidden from the user. All solver set details are hidden from the user and they provide no user facing features other than improved performance. I also added a benchmark application with several benchmarks. These generate CSV files with results. 400 pyramids, 22000 bodies time in milliseconds (8 cores on 7950x) solver set branch step 2.3 -- collide 1.15 -- solve 1.15 main branch step 3.3 -- collide 1.45 -- solve 1.7
-
- Mar 02, 2024
-
-
Erin Catto authored
fix a warning tested sanitizers: - address : passed - undefined : passed - thread : found one race for a debug counter and fixed it
-
Erin Catto authored
Issues addressed: #132, #131, #128
-
- Mar 01, 2024
-
-
Erin Catto authored
- implement bullet feature - fix samples for macOS - add TOI fallback for SpeculativeFailure sample - bug fixes: offset capsule inertia and max extent Thanks to @irlanrobson and @dgregorius for the bug reports
-
- Feb 27, 2024
-
-
Erin Catto authored
- consistent bounding boxes for speculative - Emscripten build setting - wake body when modifying shape #116 #112
-
- Feb 26, 2024
-
-
Erin Catto authored
improve shape cast sample fix #25 and #26 test case for #113
-
Erin Catto authored
remove unneeded solver arrays added fixed rotation functions added joint limit functions adjusted camera for all samples fixed solver index bug reset impulse when enabling/disabling limits and motors fixed bug destroying joint attached to sleeping body added function to wake bodies attached to a joint #123, #111
-
- Feb 25, 2024
-
-
Erin Catto authored
#83, #95, #100, #101, #102, #103, #104, #110
-
- Feb 20, 2024
-
-
Erin Catto authored
default defs from functions Addresses: #110 and #109
-
- Feb 19, 2024
-
-
Erin Catto authored
Ported TGS_Soft/Fixed from Solver2D. The rotation state is now a sine/cosine pair (e.g. complex number). Contact manifolds and constraints now try to preserve precision as much as possible for large coordinates.
-
- Jan 01, 2024
-
-
Erin Catto authored
get/set friction/restitution/density get joint type compute AABB for a body more setters and getters fixed polygon vs circle bug added cliff sample renamed bitset fields for Dirk #94, #97, #98, #95, #93
-
Erin Catto authored
- sample platformer to show presolve callback usage - fixed empty world crash - option to disable AVX2 (SSE2 fallback) - fixed polygon centroid - mingw support - unit test for a world that has all bodies destroyed
-
- Dec 30, 2023
-
-
Erin Catto authored
API to get parent chain id default definitions as constants 128 max worlds removed extents from mass data removed box2d_exports.h and implemented similar switches in api.h user_constants.h optional and off by default added some missing API functions added shape filter sample addresses #93
-
- Dec 29, 2023
-
-
Erin Catto authored
-
- Dec 28, 2023
-
-
Erin Catto authored
Could not remove float16 stuff without major modification
-
Erin Catto authored
renamed statistics to counters unit tests only run in static build DLL goes into bin directory with exe using generated box2d_export.h avx2 on linux script to deploy documentation
-
- Dec 27, 2023
-
-
Erin Catto authored
improve build performance cmake cleanup API documented allow length units and max polygon vertices to be specified in cmake options
-
- Dec 25, 2023
-
-
Erin Catto authored
Added doxygen to cmake. Using new `doxygen_add_docs` feature. Tweaked settings to work will with C API.
-
- Dec 23, 2023
-
-
Erin Catto authored
faster prismatic joint added wheel joint added motor joint decided to skip pulley and gear joints for now the friction joint can be implemented with the motor joint added several samples, include ragdoll sample
-
- Dec 17, 2023
-
-
Erin Catto authored
- weeble sample - contact events - contact access - contact event sample - forces and impulses - shape geometry access
-
- Dec 13, 2023
-
-
Erin Catto authored
-
- Dec 12, 2023
-
-
Erin Catto authored
add check for completion this should leave the task API in good shape for users
-
- Dec 10, 2023
-
-
Erin Catto authored
- WASM fixes - slider in samples to set the worker count
-
Erin Catto authored
There were too many workers on macOS. 8 workers is too much on the M2, now running 4 and getting much better performance.
-
Erin Catto authored
`B2_DEBUG` type conversion
-
Erin Catto authored
- unit test and samples running on macOS natively on Apple Silicon (ARM) with Neon instructions via SIMDE.
-