Commit Graph

180 Commits

Author SHA1 Message Date
Roman
66b6b55ea2 Rotation gizmo for Ball 2d collider (#670) 2024-07-01 10:49:41 +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
3e8650f3a7 Fix delta_time being 0 resulting in incorrect simulation (#660)
* Add failing test

* fix tests

* better fix

* add changelog

* fix propagated to `contact_cfm_factor`

* PR feedback

* more PR feedbacks
2024-06-23 18:18:54 +02:00
Miguel Medina Ballesteros
5c6d34aa09 fix: capitalization typo in docs (#654) 2024-06-14 15:39:38 +02:00
Thierry Berger
05c3925884 fix: Fixed typo in castShape functions (#653) 2024-06-13 11:31:49 +02:00
Thierry Berger
9367198282 feat: rework QueryPipeline update API to take less parameters (#647)
* chore: rework QueryPipeline API to take a generic qbvh updater

This allows to pass less parameters depending on the updating mode.

* chore: rework struct and functions names, and docs

---------

Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>
2024-06-09 14:16:03 +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
7565e5e4ef chore: update to the latest parry api 2024-05-05 16:17:39 +02:00
Bruce Mitchener
7375a691e2 Fix some typos. (#620) 2024-05-05 12:11:38 +02:00
Sébastien Crozet
a36f161ce6 fix compilation of tests 2024-04-30 23:10:46 +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
404e032433 feat: add soft (solver-based) ccd implementation 2024-04-30 23:10:46 +02:00
Sébastien Crozet
a44f39a7b6 fix contact debug-rendering for compound shapes 2024-04-30 23:10:46 +02:00
Sébastien Crozet
7cbbb8e87b feat: add Collider::heightfield_with_flags 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
b3a00b4123 feat: add the DefaultBroadPhase type alias 2024-03-23 15:17:47 +01:00
Sébastien Crozet
3d112287b9 feat: add a BroadPhaseTrait for allowing custom broad-phases 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
3020d442ea chore: minor comment fix 2024-03-23 10:50:02 +01:00
Max Whitehead
3fd18f4da8 fix(user_changes): Fix RigidBodyType changed to Dynamic not updating
active dynamic set.
2024-03-23 10:50: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
7ba53df734 Merge pull request #582 from dimforge/misc
Narrow-phase methods renames + some re-exports
2024-01-24 23:26:35 +01:00
Sébastien Crozet
1837d8f2b7 chore: fix tests 2024-01-24 23:11:42 +01:00
Sébastien Crozet
d84aa82cf6 Merge pull request #527 from Aceeri/debug-render-com
Calculate world center of mass from local com in debug renderer
2024-01-24 22:54:41 +01:00
Sébastien Crozet
bef72df32c chore: CI fixes 2024-01-22 21:06:33 +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
39f4520b91 feat: actually apply the disabled_color_multiplier in the debug-renderer 2023-12-09 21:46:41 +01:00
Soham
4015cefebf feat/Color of disabled object will change 2023-12-09 21:25:43 +01:00
Aceeri
2ac1898f82 Calculate world center of mass from local com in debug renderer 2023-09-26 17:45:37 -07:00
Sébastien Crozet
32ffb3e1aa Merge pull request #521 from waywardmonkeys/expand-wrt
docs: Expand "wrt" to "with respect to".
2023-09-09 12:56:35 +02:00
Bruce Mitchener
727610cdc2 docs: exclude kinematic/dynamic reversed in description.
Fixes #496.
2023-08-28 11:18:27 +07:00
Bruce Mitchener
b9b5b58f61 docs: Expand "wrt" to "with respect to".
This makes things more clear as this abbreviation isn't known
to everyone.

While the trailing period is common in French, it isn't in English
(one might use "w.r.t.").

Fixes #498.
2023-08-28 11:13:27 +07:00
Sébastien Crozet
13b290ddd0 Merge pull request #474 from dimforge/debug-render-filtering
Add a predicate to the DebugRenderBackend to filter out objects that are being rendered
2023-07-08 14:27:39 +02:00
Imbris
9168d36dd4 Delete mention of removed PhysicsPipeline::step_generic
This was removed in version 0.12.0

89e3d7650c/CHANGELOG.md (L191)
2023-05-26 15:59:14 -04:00
Sébastien Crozet
eac5a26925 Fix typo 2023-03-26 18:32:50 +02:00
Sébastien Crozet
d76eb97fd8 Add a predicate to the DebugRenderBackend to filter out objects that are being rendered 2023-03-26 18:02:30 +02:00
Sébastien Crozet
8aafd5d0bb Fix deprecation warning 2023-03-25 18:36:51 +01:00
Sébastien Crozet
fd9f72d977 More typo fix 2023-03-18 11:04:59 +01:00
Joseph Rafael Ferrer
a0c0848dee Fix typo in EventHandler::handle_collision_event 2023-02-11 14:52:15 +08:00
Sébastien Crozet
de59c6b58c Fix rigid-body mass-properties being incorrect after disable/enable 2023-01-21 19:00:07 +01:00
Sébastien Crozet
a1e255dbcd Fix warnings 2022-12-11 17:52:51 +01:00
Sébastien Crozet
0207f8cf96 Properly take initial sleeping state set by the user when creating a rigid-body 2022-12-11 17:47:42 +01:00
Sébastien Crozet
cb9350fd80 Fix tests 2022-12-11 15:50:25 +01:00
Sébastien Crozet
7e95cba09d Fix ABA problem in incremental query pipeline update 2022-12-11 15:20:33 +01:00
Sébastien Crozet
683baf6bf7 Allow the PhysicsPipeline and CollisionPipeline to update the QueryPipeline incrementally 2022-12-11 15:20:33 +01:00
Sébastien Crozet
46d976d97b Allow disabling colliders, rigid-bodies and impulse joints 2022-12-11 15:20:33 +01:00
Sébastien Crozet
b5b3431a63 Switch to the published parry 0.11 2022-10-30 13:43:52 +01:00
Sébastien Crozet
b243e0a758 Update to latest version of parry 2022-10-25 18:10:24 +02:00
Sébastien Crozet
f7bec3c49c Update CHANGELOG 2022-10-02 18:30:26 +02:00