Commit Graph

106 Commits

Author SHA1 Message Date
Sébastien Crozet
c1be3e8578 feat: documentation improvements (#884) 2025-10-17 12:59:19 +02:00
Thierry Berger
0f5b4a4d88 feat: changed some QueryPipeline API to be more library friendly (#863) 2025-07-24 16:21:55 +02:00
Sébastien Crozet
95bd6fcfeb feat: switch to the new Bvh from parry for the broad-phase (#853)
* feat: switch to the new Bvh from parry for the broad-phase

* chore: cargo fmt + update testbed

* chore: remove the multi-grid SAP broad-phase

* fix soft-ccd handling in broad-phase

* Fix contact cleanup in broad-phase after collider removal

* chore: clippy fixes

* fix CCD regression

* chore: update changelog

* fix build with the parallel feature enabled

* chore: remove the now useless broad-phase proxy index from colliders

* fix tests
2025-07-11 22:36:40 +02:00
Thierry Berger
955795dfbb Fix clippy (#800) 2025-02-24 11:34:46 +01:00
Thierry Berger
510237cc29 Profiling support (#743) 2024-11-19 16:33:26 +01:00
Thierry Berger
684f3a3054 Fix character controller ground detection (#715) 2024-11-19 15:32:37 +01:00
Thierry Berger
76357e3588 Fix CharacterController max/min slope handling (#701) 2024-09-23 11:10:29 +02:00
Thierry Berger
5542bc5dbd character controller: Fix some cases of grounded not being detected (#711)
character offset exxageration to 1.2
2024-08-09 11:54:28 +02:00
Thierry Berger
5308a28435 fix: less invasive solve_character_collision_impulses function (#652)
* fix: less invasive `solve_character_collision_impulses` function

Taking ownership of the elements is not necessary.

It also conveys the information that elements are only read.

* Add Changelog
2024-06-23 23:01:55 +02:00
Thierry Berger
84b66d63e3 fix: character controller: walls less likely to trigger ground detection (#655) 2024-06-17 16:51:06 +02:00
Thierry Berger
8160b4ebdb feat: change the character controller’s solve_character_collision_impulses to take multiple CharacterCollision (#646)
* character controller: solve multiple collisions

* add solve multiple collisions to changelog

* chore: apply review comments

---------

Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>
2024-06-09 13:20:58 +02:00
Sébastien Crozet
e4d6755c15 chore: clippy fixes 2024-05-05 16:17:39 +02:00
Sébastien Crozet
425b2fc83d chore: misc typo fixes 2024-05-05 16:17:39 +02:00
Sébastien Crozet
d0866d4232 feat: rename CharacterCollision::toi to hit 2024-05-05 16:17:39 +02:00
Sébastien Crozet
dbefeb0418 feat: don’t enable character controller autostepping by default 2024-05-05 16:17:39 +02:00
Sébastien Crozet
3222d67871 Fix character controller getting stuck against vertical walls 2024-05-05 16:17:39 +02:00
Bruce Mitchener
7375a691e2 Fix some typos. (#620) 2024-05-05 12:11:38 +02:00
Linentio
6c901d5774 Use the absolute value of the up attribute when calculating side_extent 2023-09-30 13:27:50 +02:00
Linentio
fa2be3fc9c Use the absolute value of the up attribute when calculating up_extent 2023-09-30 12:37:45 +02:00
Paul Lane
be9968628f Add serde derives to structures in the control module 2023-08-01 21:44:48 -04:00
Sébastien Crozet
afe4e4d53d cargo fmt 2023-03-25 18:37:04 +01:00
jeff425
11d145b11a #465 Add is_sliding_down_slope field to EffectiveCharacterMovement 2023-03-19 21:16:42 -07:00
Sébastien Crozet
798d764fc1 Fix climbing small slopes when autostepping is disabled 2023-02-26 17:50:52 +01:00
Jan Hohenheim
dd195a4720 Fix horizontal jittering along walls in 3D 2023-02-09 00:56:16 +01:00
Jan Hohenheim
1b449fc31d Fix faulty snap distance 2023-02-08 22:17:04 +01:00
Jan Hohenheim
93d0e625c7 Simplify code 2023-02-05 02:52:50 +01:00
Jan Hohenheim
fac561c902 Fix erroneous sliding 2023-02-05 02:18:43 +01:00
Jan Hohenheim
4ed3adda6e Make clippy happier 2023-02-04 23:42:04 +01:00
Jan Hohenheim
95a7894b3c Remove dead code 2023-02-04 23:16:05 +01:00
Jan Hohenheim
c9462e0818 Fix jittering on jointed platform, but result in violating offset 2023-02-04 22:31:27 +01:00
Jan Hohenheim
7e1fb6f877 Fix snap to ground being triggered on exactly perpendicular movement 2023-02-04 21:41:50 +01:00
Jan Hohenheim
760ea8d498 Fix moving along obstacle twice per iteration 2023-02-04 21:05:54 +01:00
Jan Hohenheim
8d182cef7d Fix inconsistency in grounded detection at manifold 2023-02-04 20:59:35 +01:00
Jan Hohenheim
f9a50856be Add debug messages 2023-02-04 20:35:42 +01:00
Jan Hohenheim
39998e96e8 Fix grounded false positives when normal is [0, 0] 2023-02-04 20:27:27 +01:00
Jan Hohenheim
9e89a71257 Revert "Optimistically add normalization"
This reverts commit 52910c9c59.
2023-02-04 20:15:34 +01:00
Jan Hohenheim
52910c9c59 Optimistically add normalization 2023-02-04 20:11:04 +01:00
Jan Hohenheim
7a2759c52f Revert grounded checks to not be grounded by default again 2023-02-04 19:55:05 +01:00
Jan Hohenheim
b461d028df Remove overzealous ground-snapping 2023-02-04 19:41:01 +01:00
Jan Hohenheim
6c5713aa0c Remove anti-jitter check 2023-02-04 19:15:32 +01:00
Jan Nils Ferner
da671fd99a Fix formatting 2023-02-04 18:12:15 +01:00
Jan Nils Ferner
220d2b09ab Fiddle with prediction 2023-01-28 01:09:19 +01:00
Jan Nils Ferner
3b537a20c2 Remove unused variables 2023-01-28 01:08:22 +01:00
Jan Nils Ferner
456c62e2ff Try out regular snapping again 2023-01-28 00:56:01 +01:00
Jan Nils Ferner
f1c8fdc1ec Try to fix false negatives on grounded 2023-01-28 00:52:16 +01:00
Jan Nils Ferner
e3fb4f7135 Move main ground detection duty to snapping to ground 2023-01-28 00:30:20 +01:00
Jan Nils Ferner
1a94c62a1a Fix missing ground check 2023-01-28 00:18:51 +01:00
Jan Nils Ferner
d4ca845393 Fix faulty max 2023-01-28 00:14:40 +01:00
Jan Nils Ferner
9daa741af2 Fix missing ground assignment 2023-01-28 00:03:50 +01:00
Jan Nils Ferner
337a963ce3 Fix code inconsistencies 2023-01-27 23:58:21 +01:00