Sébastien Crozet
108a2a18d6
feat: add PD and PID controller implementations ( #804 )
...
* feat: add a PID controller implementation
* feat: add small rigid-body utilities + test interpolation test
* fix: make scrolling weaker on macos
* feat: add the option to use the PID controller in the character controller demo.
* feat: add a stateless PD controller
* feat(rapier_testbed): cleanup & support PidController in 2D too
* chore: add comments for the PD and PID controllers
* chore: update changelog
* feat: rename PidErrors to PdErrors which is more accurate
* fix cargo doc
* chore: remove dead code
* chore: make test module non-pub
2025-03-05 14:06:49 +01:00
Sébastien Crozet
5ca6ae9106
feat(rapier_testbed): autosave testbed configuration + add support for per-example settings ( #799 )
...
* feat(rapier_testbed): autosave testbed configuration + add support for per-example parameters
* feat(rapier_testbed): also save the camera position
* feat(rapier_testbed): improve ergonomics of example-specific settings
* chore: cargo fmt
* chore(rapier_testbed): small UI ergonomics improvement
* chore(rapier_testbed): clippy fixes
2025-02-21 17:52:46 +01:00
Austin J. Garrett
552cfebab0
Fix shape modification not updating graphics in testbed ( #708 )
...
* Fix shape modification not updating graphics in testbed
* Add update collider to Testbed
* chore: lint shape_modifications3
* chore: simplify GraphicsManager::remove_collider_nodes
---------
Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com >
2025-01-08 18:03:01 +01:00
Thierry Berger
2ed1934756
Upgrade bevy 0.15 ( #758 )
...
* upgrade bevy 0.15
* use crate dependencies
* use puffin pr dependency
* suppress needless lifetimes
* fix compiler error due to merge
---------
Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com >
2025-01-08 17:59:56 +01:00
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
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
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
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
2df7258570
feat: update testbeds to bevy 0.13
2024-03-24 18:06:00 +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
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
8ef8680817
Update parry and changelog
2022-12-11 15:22:36 +01:00
Sébastien Crozet
849f398031
Add a dynamic ray-cast vehicle controller
2022-12-11 15:22:36 +01:00
Sébastien Crozet
9a4afcc43e
Fix f64 build
2022-10-02 18:30:14 +02:00
Sébastien Crozet
a886529669
Fix warnings
2022-10-02 17:55:23 +02:00
Sébastien Crozet
36e85d0708
Add a character controller implementation
2022-10-02 17:36:30 +02:00
Sludge
c4f078daf3
Update bevy and wgpu
2022-08-04 00:03:16 +02:00
Sébastien Crozet
fb7bfaf53d
Add more options for filtering colliders in scene queries.
2022-07-04 10:43:30 +02:00
Sébastien Crozet
ab8833f275
Add the option to automatically wake-up rigid-bodies a new joint is attached to
2022-05-30 18:29:18 +02:00
Sébastien Crozet
65824e74f3
Add comments for the debug-renderer
2022-04-28 17:30:35 +02:00
Sébastien Crozet
5063fa4203
Testbed: switch to bevy 0.7
2022-04-28 13:19:58 +02:00
Sébastien Crozet
bc2ae4b512
Add a basic lines-based debug-renderer
2022-04-22 16:11:23 +02:00