Sébastien Crozet
e44f636249
feat: add support for Voxels collider ( #823 )
...
* feat: start adding voxels support and some additional testbed demo settings
* feat: add support for parry’s new Voxels collider shape
* fix voxels demos
* feat: support rectangular voxels and additional voxels initialization
* chore: switch to parry 0.20
* chore: fix cargo doc
* Fix testbed build
2025-04-24 12:11:53 +02:00
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
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
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
Sébastien Crozet
4737a96169
fix: allow enexpected_cfgs
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
Sébastien Crozet
da92e5c283
Fix clippy and enable clippy on CI
2024-01-27 17:13:08 +01:00
Sébastien Crozet
9b87f06a85
feat: implement new "small-steps" solver + joint improvements
2024-01-21 21:02:27 +01:00
johnny-smitherson
aa546225a4
delete comments left over in diff
2023-11-03 21:43:31 +00:00
Sébastien Crozet
23a7ed5beb
Fix crashes on MacOS
2023-10-29 18:59:47 +01:00
Sludge
5d38f62cd3
Reexport BevyMaterial alias
2022-08-04 01:59:15 +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
Sébastien Crozet
0703e5527f
Fix some solver issues
...
- Fix the wrong codepath taken by the solver for contacts involving a collider without parent.
- Properly adress the non-linear treatment of the friction direction
- Simplify the sleeping strategy
- Add an impulse resolution multiplier
2022-01-16 16:52:40 +01:00
Sébastien Crozet
f74b8401ad
Implement multibody joints and the new solver
2022-01-02 16:58:36 +01:00
Sébastien Crozet
48d0df11d7
Release v0.11.0
2021-08-08 19:19:16 +02:00
rezural
53700db860
add opacity to EntityWithGraphics
2021-07-08 10:07:42 +02:00
Crozet Sébastien
e0e341214c
Update dependencies
2021-06-02 16:00:23 +02:00
Crozet Sébastien
1a84bf2af3
Replace Kiss3d by Bevy for the testbed renderer.
2021-05-16 17:49:20 +02:00
Crozet Sébastien
8f7220f03d
Rename cdl to parry.
2021-01-24 11:13:44 +01:00
Crozet Sébastien
8fe2df126a
Remove some irrelevant code.
2020-12-29 11:31:59 +01:00
Crozet Sébastien
e231bacec6
Move all the contact manifold computations out of Rapier.
2020-12-29 11:31:00 +01:00
Crozet Sébastien
9bf1321f8f
Outsource the contact manifold, SAT, and some shapes.
2020-12-29 11:31:00 +01:00
rezural
16720918aa
cargo fmt
2020-12-21 04:33:25 +11:00
rezural
be07227e94
add HarnessState to callbacks, move HarnessPlugin to src_testbed/harness/plugin
2020-12-21 04:23:11 +11:00
rezural
315b84a85e
add plugins
...
cargo fmt
2020-12-21 04:23:11 +11:00
rezural
88bddce954
harness
...
make harness a public mod, make harness.state public
2020-12-21 04:23:11 +11:00
rezural
bcaa1d13e8
extract PhysicsState, PhysicsSnapshot & PhysicsEvents
...
cargo fmt
changes to make rapier compile
2020-12-20 14:45:59 +11:00
Crozet Sébastien
49dfe74a1b
Remove traces of the fluids feature.
2020-11-19 15:28:45 +01:00
Crozet Sébastien
154bc70037
Remove the Salva integration code from rapier + add a plugin system to the testbed.
2020-11-19 13:55:19 +01:00
Sébastien Crozet
754a48b7ff
First public release of Rapier.
2020-08-25 22:10:25 +02:00