Commit Graph

112 Commits

Author SHA1 Message Date
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
Sébastien Crozet
f108520b5a Finalize refactoring 2022-04-20 19:02:49 +02:00
Sébastien Crozet
a9e3441ecd Rename rigid-body static to fixed 2022-03-20 21:49:16 +01:00
Sébastien Crozet
28cc19d104 Allow removing a rigid-body without auto-removing attached colliders 2022-03-20 21:49:16 +01:00
Sébastien Crozet
fb20d72ee2 Joint API and joint motors improvements 2022-03-20 21:49:16 +01:00
Sébastien Crozet
22f21c14b8 Testbed: add a constructor that calls a custom closure with bevy’s App 2022-03-20 21:49:16 +01:00
Sébastien Crozet
31e7d95ff9 Add f64 testbed 2022-01-23 16:48:24 +01: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
a0d197e691 Update the testbed to use bevy 0.6 2022-01-09 20:41:41 +01:00
Sébastien Crozet
f74b8401ad Implement multibody joints and the new solver 2022-01-02 16:58:36 +01:00
Sébastien Crozet
fe87e2d586 Fix testbed rendering of colliders without parent 2021-10-14 12:14:34 +02:00
Sébastien Crozet
d858ae4c4e Make the 2D add-remove demo more intereting. 2021-09-12 01:49:09 -07:00
rezural
75a677c58a clear plugin graphics when examples changed, then clear the plugins vec 2021-07-27 15:09:31 +02:00
rezural
0e1215e4ed add update_ui to TestbedPlugin 2021-07-08 10:07:42 +02:00
rezural
7c249c873d enable clear_graphics and run_callbacks agin
update plugin signature to recieve bevy structs, add Arc<Mutex<>> around gfx_components, we we can get shared mutable access
add prefab_meshes() access function

Remove Arc<Mutex<>>
2021-07-08 10:07:42 +02:00
Sébastien Crozet
d3d998e91e Merge pull request #193 from rezural/egui-focus
Testbed: check if the egui context wants pointer focus, disable orbit camera if so.
2021-06-02 17:18:35 +02:00
Crozet Sébastien
e0e341214c Update dependencies 2021-06-02 16:00:23 +02:00
rezural
a49605bd9b check if the egui context wants pointer focus, disable orbit camera if so. this disables egui interactions being sent to the orbital camera 2021-05-29 13:00:01 +10:00
Crozet Sébastien
1bef66fea9 Add prelude + use vectors for setting linvel/translation in builders 2021-05-25 11:00:13 +02:00
Crozet Sébastien
abb4742758 Fix warnings when compiling tests. 2021-05-17 09:46:07 +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
c32da78f2a Split rigid-bodies and colliders into multiple components 2021-04-26 18:00:50 +02:00
Crozet Sébastien
2006919347 Add the ability to pass a custom filter to all the QueryPipeline queries. 2021-04-01 11:02:48 +02:00
Crozet Sébastien
1b073e98b4 Remove the IntegrationParameters field we don't use. 2021-03-31 18:41:02 +02:00
Crozet Sébastien
d2ee642053 CCD: take angular motion and penetration depth into account in various thresholds. 2021-03-30 17:10:50 +02:00
Crozet Sébastien
7306821c46 Attenuate the warmstart impulse for CCD contacts.
CCD contacts result in very strong, instantaneous, impulses. So it is preferable to attenuate their contribution to subsequent timesteps to avoid overshooting.
2021-03-28 11:27:07 +02:00