Commit Graph

40 Commits

Author SHA1 Message Date
Sébastien Crozet
3d112287b9 feat: add a BroadPhaseTrait for allowing custom broad-phases 2024-03-23 15:17:47 +01:00
Sébastien Crozet
cfb2c2c93e feat!: rename BroadPhase to BroadPhaseMultiSap 2024-03-23 15:17:47 +01:00
Sébastien Crozet
da92e5c283 Fix clippy and enable clippy on CI 2024-01-27 17:13:08 +01:00
Sébastien Crozet
46d976d97b Allow disabling colliders, rigid-bodies and impulse joints 2022-12-11 15:20:33 +01:00
Sébastien Crozet
b5b3431a63 Switch to the published parry 0.11 2022-10-30 13:43:52 +01:00
Timo Kösters
f55925685d docs: fix typo 2022-08-04 11:42:02 +02:00
Sébastien Crozet
2e19eb2e54 Fix warning 2022-06-24 12:11:14 +02:00
Sébastien Crozet
be5b6813a9 Broad-phase: discard NAN/Inf AABBs. 2022-06-24 11:56:28 +02:00
Sébastien Crozet
9e431fb392 Address rounding errors resulting in AABBProxy being added to a disjoint region. 2022-06-24 11:56:12 +02:00
Sébastien Crozet
f108520b5a Finalize refactoring 2022-04-20 19:02:49 +02:00
Sébastien Crozet
2b1374c596 First round deleting the component sets. 2022-04-20 19:02:49 +02:00
Nolan Darilek
775c45e9ff Include broken values in assertion failure message. 2022-04-19 12:34:28 +02:00
Sébastien Crozet
7efcff615e Fix broad-phase becomming potentially invalid after collision group change 2022-03-27 19:28:42 +02:00
Sébastien Crozet
0ac35e12a7 Update tests 2022-03-20 21:49:16 +01:00
Sébastien Crozet
a9e3441ecd Rename rigid-body static to fixed 2022-03-20 21:49:16 +01:00
Sébastien Crozet
0c7ebae1aa Run cargo fmt 2022-01-23 18:04:24 +01:00
zhguchev
536122e080 add defaults for the several structs 2022-01-23 18:01:50 +01:00
Sébastien Crozet
9f9d329360 Fix tests 2022-01-02 17:43:38 +01:00
Sébastien Crozet
90edb4b532 More warning fixes + temporarily disable -D warning in the CI 2022-01-02 17:29:34 +01:00
Sébastien Crozet
ae27e1c331 Run cargo fmt 2022-01-02 17:22:37 +01:00
Sébastien Crozet
f74b8401ad Implement multibody joints and the new solver 2022-01-02 16:58:36 +01:00
Jamen Marz
7aa94e994f Impl Default for a few structs 2021-09-25 13:50:12 +02:00
Sébastien Crozet
d858ae4c4e Make the 2D add-remove demo more intereting. 2021-09-12 01:49:09 -07:00
Sébastien Crozet
5e133aac92 Fix broad-phase bug that could result in missed collision pairs when an object leaves then re-enter a region 2021-09-12 01:49:09 -07:00
Sébastien Crozet
37a90a5409 Add missing comments. 2021-07-30 11:09:15 +02:00
Crozet Sébastien
bde6657287 Fix tests and wasm build. 2021-06-02 16:22:40 +02:00
Crozet Sébastien
f350ac35d9 Fix crash in broad-phase after shape modification.
Fix #180 and #177
2021-05-01 10:21:57 +02:00
Crozet Sébastien
ac8ec8e351 Fix tests. 2021-04-29 13:03:54 +02:00
Crozet Sébastien
c32da78f2a Split rigid-bodies and colliders into multiple components 2021-04-26 18:00:50 +02:00
Crozet Sébastien
d9d89afb6e Fix determinism problem in the broad-phase after snapshot restoration. 2021-04-02 16:23:20 +02:00
Crozet Sébastien
a6b8b4b638 Fix tests. 2021-03-31 17:46:59 +02:00
Crozet Sébastien
8173e7ada2 Allow collider modification after its insersion to the ColliderSet. 2021-03-29 14:54:54 +02:00
Crozet Sébastien
710dd8d71e Fix bug wher ethe broad-phase could miss some contacts pairs. 2021-03-26 18:16:51 +01:00
Crozet Sébastien
326469a1df Fix the last few bugs and unbounded memory usage. 2021-03-17 09:34:56 +01:00
Crozet Sébastien
d82a675b46 Experiment with a smaller region power basis. 2021-03-13 19:32:27 +01:00
Crozet Sébastien
b2c0f62003 Some tunning of the way layers are attributed to a collider. 2021-03-13 19:19:12 +01:00
Crozet Sébastien
3a1502be74 First complete implementation of the hierarchical SAP. 2021-03-13 18:00:58 +01:00
Crozet Sébastien
a967ace7d4 Start implementing SAPLayer creation and insertion. 2021-03-08 18:27:06 +01:00
Crozet Sébastien
7983c25606 Start introducing SAP layers. 2021-03-08 15:32:04 +01:00
Crozet Sébastien
0b80bc827c Split the broad-phase code into multiple files. 2021-03-08 15:32:04 +01:00