Commit Graph

161 Commits

Author SHA1 Message Date
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

https://github.com/dimforge/rapier/blob/89e3d7650c84f96893376a79cbc120aeaeb74785/CHANGELOG.md?plain=1#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
Sébastien Crozet 36e85d0708 Add a character controller implementation 2022-10-02 17:36:30 +02:00
Sébastien Crozet 73788a21ab Add ActiveEvents::CONTACT_FORCE_EVENTS for consistency with ActiveEvents::COLLISION_EVENTS 2022-07-07 11:01:39 +02:00
Sébastien Crozet ba081fb6f5 Improve the API for initializing/setting mass-properties 2022-07-05 14:59:14 +02:00
Sébastien Crozet 158308ad71 Add hepler function for building a contact force event from a contact pair 2022-07-04 15:04:06 +02:00
Sébastien Crozet 06d540a10c Scene query filtering: address corner case 2022-07-04 11:17:53 +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 5063f3bb4f Add the ability to disable contacts between two rigid-bodies attached by joints 2022-07-03 13:55:41 +02:00
Sébastien Crozet 32e2ff6c96 Name the contact force events ContactForceEvent instead of CollisionForceEvent 2022-07-01 17:45:11 +02:00
Sébastien Crozet b9f76e2fda Warning fixes 2022-07-01 12:00:32 +02:00
Sébastien Crozet c9d8277377 Add contact force events generated above a user-defined threshold 2022-07-01 12:00:32 +02:00
Sébastien Crozet d6b6189861 Properly wake-up rigid-bodies that must be awaken because of joints 2022-07-01 12:00:18 +02:00
Nash 1f7cf1ac71 Update ActiveEvents rustdocs to remove EventHandler::handle_intersection_event() 2022-06-30 10:23:53 -04:00
shoebe 2a83a44fd9 Fix panic when a collider is both added and removed before a call to CollisionPipeline::step 2022-06-05 15:48:52 -04:00
Sébastien Crozet 63a6889d88 Adjust the defaults for the debug-renderer + add a JOINTS compound bitflag 2022-05-31 15:47:01 +02:00
Sébastien Crozet 10ca3474e6 Make theinstant dependency optional, behind a profiler cargo feature 2022-05-31 11:49:36 +02:00
Sébastien Crozet fef8416983 Move the cfm factor to the velocity constraints instead of the elements. 2022-05-30 19:14:05 +02:00
Sébastien Crozet 0d05536ab6 Debug-renderer: add rendering of contacts, solver contacts, and collider AABBs 2022-05-30 18:29:18 +02:00
Sébastien Crozet 7dc038aec6 Fix test build 2022-04-28 17:51:17 +02:00
Sébastien Crozet 65824e74f3 Add comments for the debug-renderer 2022-04-28 17:30:35 +02:00