Commit Graph

226 Commits

Author SHA1 Message Date
Thierry Berger
dc4bd24da8 Update to Parry 0.18 (#770)
* update to parry ~main

* use traverse_depth_first

* add example to test intersection

* rely on upstream PR rather than local

* re-enable profiler_ui for examples

* rely on official parry repository

* chore: switch back to the published version of parry

* chore: update changelog

* chore: remove dead code

* fix compilation of rapier3d-meshloader and rapier3d-urdf

* chore: cargo fmt

---------

Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>
2025-01-08 17:16:34 +01:00
Thierry Berger
cf77b5bf57 Remove instant dependency in favor of web-time (#767) 2024-12-06 12:54:00 +01:00
Thierry Berger
93bd37d814 fix clippy needless lifetimes (#769)
+ ignore them for bevy where we often want explicitness
2024-12-05 15:55:12 +01:00
Thierry Berger
510237cc29 Profiling support (#743) 2024-11-19 16:33:26 +01:00
Thierry Berger
76357e3588 Fix CharacterController max/min slope handling (#701) 2024-09-23 11:10:29 +02:00
Thierry Berger
04058a111d update testbeds to bevy 0.14 (#723) 2024-09-06 16:15:34 +02:00
Ben Harper
af3a26c99d Improve distant object panics in broad phase (#128)
Co-authored-by: Thierry Berger <contact@thierryberger.com>
2024-08-05 17:19:52 +02:00
Bruce Mitchener
617428e988 Use workspace lints to control unexpected_cfgs. (#682)
By using `workspace.lints`, we can configure lints once for
everything (and then inherit it into the various crates).

The lint configuration for `unexpected_cfgs` works in 1.80+
and warns otherwise.

Co-authored-by: Thierry Berger <contact@thierryberger.com>
2024-08-02 16:38:56 +02:00
Thierry Berger
364b5b7c37 Color visualization for grounded character controller (#705) 2024-08-02 11:49:45 +02:00
Julian Knodt
595b952c52 Update flags for testbed (#704) 2024-07-31 09:28:56 +02:00
Sébastien Crozet
cf74150763 Release v0.22.0 (#695) 2024-07-20 17:14:43 +02:00
Bruce Mitchener
55a7d8b7ad testbed: Remove use of missing log feature (#684)
This code has been here but not used for a long time. There's no
log feature (or dependency) within the testbed crates.
2024-07-19 16:35:56 +02:00
Bruce Mitchener
23c0c05a5b Use bitflags! consistently. (#680)
This removes an `extern crate` and a `use` so that we always
call it via `bitflags::bitflags!` everywhere.
2024-07-12 17:00:24 +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
Sébastien Crozet
3004a7d38d chore: update to nalgebra 0.33 and parry 0.16 (#664) 2024-06-23 22:57:51 +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
Thierry Berger
d687fe97b1 fix: testbed: keyD removes only dynamic bodies as intended (#648) 2024-06-07 15:16:45 +02:00
Sébastien Crozet
cdec395d09 feat: rename cfm_factor, damping_ratio to contact_cfm_factor and contact_damping_ratio 2024-05-25 12:00:15 +02:00
Sébastien Crozet
4737a96169 fix: allow enexpected_cfgs 2024-05-25 12:00:15 +02:00
Sébastien Crozet
174778067d feat: ui to set the number of simulation steps per frame 2024-05-25 12:00:15 +02:00
Sébastien Crozet
fdd935dbf1 feat: make the constraints regularization coefficients configurable with angular frequency instead of explicit ERP 2024-05-25 12:00:15 +02:00
Sébastien Crozet
62379de9ec feat: add simple inverse-kinematics solver for multibodies (#632)
* feat: add a simple jacobian-based inverse-kinematics implementation for multibodies

* feat: add 2d inverse kinematics example

* feat: make forward_kinematics auto-fix the root’s degrees of freedom

* feat: add 3d inverse kinematics example

* chore: update changelog

* chore: clippy fixes

* chore: more clippy fixes

* fix tests
2024-05-25 10:36:34 +02:00
Bruce Mitchener
7375a691e2 Fix some typos. (#620) 2024-05-05 12:11:38 +02:00
Sébastien Crozet
0a9153e273 chore: clippy fixes 2024-04-30 23:10:46 +02:00
Sébastien Crozet
9ba155748e chore: clenaup testbed profiling ui 2024-04-30 23:10:46 +02:00
Sébastien Crozet
c079452a47 feat: add IntegrationParameters::length_unit to adjust internal threshold based on user-defined length units 2024-04-30 23:10:46 +02:00
Sébastien Crozet
f58b4f7c19 feat: add warmstarting to contact constraints resolution 2024-04-30 23:10:46 +02:00
Sébastien Crozet
9c5c14070d feat: add variable constraints stabilization iteration number 2024-04-30 23:10:46 +02:00
Sébastien Crozet
9964007269 feat: add some additional perf counters 2024-04-30 23:10:46 +02:00
Sébastien Crozet
e69e73e589 chore: clippy fixes 2024-03-24 18:06:00 +01:00
Sébastien Crozet
2df7258570 feat: update testbeds to bevy 0.13 2024-03-24 18:06:00 +01:00
Sébastien Crozet
b3a00b4123 feat: add the DefaultBroadPhase type alias 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
f9663f894c chore: clippy fix 2024-03-23 10:39:02 +01:00
Sébastien Crozet
6b6c349cfa Fix testbed snapshot restore system 2024-03-23 10:39:02 +01:00
Sébastien Crozet
da92e5c283 Fix clippy and enable clippy on CI 2024-01-27 17:13:08 +01:00
Sébastien Crozet
d1fc90c150 feat: rework solver parameters to make it easy to recover the old behaviors 2024-01-24 21:57:54 +01:00
Sébastien Crozet
9b87f06a85 feat: implement new "small-steps" solver + joint improvements 2024-01-21 21:02:27 +01:00
Sébastien Crozet
95a7d9ebd0 chore: fix test warnings 2023-12-10 12:29:24 +01:00
Sébastien Crozet
55373b3fa6 chore: update testbed to bevy 0.12 2023-12-10 12:11:20 +01:00
Sébastien Crozet
ab68a8386a feat: add a checkbox to enable/disable the debug renderer in the testbed 2023-11-04 18:12:38 +01:00
Sébastien Crozet
fb3eee502c cargo fmt 2023-11-04 17:56:13 +01:00
johnny-smitherson
aa546225a4 delete comments left over in diff 2023-11-03 21:43:31 +00:00
johnny-smitherson
70922ba0a7 flip y coord in 3d highlight_hovered_body 2023-11-03 21:30:03 +00:00
johnny-smitherson
31518e3dce fix compiler warnings & mention breaking in changelog 2023-11-03 21:01:39 +00:00
Sébastien Crozet
23a7ed5beb Fix crashes on MacOS 2023-10-29 18:59:47 +01:00
johnny-smitherson
780ba4a216 update bevy 0.11 - fix compile errors 2023-10-23 16:39:52 +00:00
stefnotch
39bc5312a5 Update testbed.rs 2023-04-24 14:07:33 +02:00
Sébastien Crozet
9b5ccb95e7 Update dependencies 2023-01-15 12:17:10 +01:00
Sébastien Crozet
a1e255dbcd Fix warnings 2022-12-11 17:52:51 +01:00