Commit Graph

714 Commits

Author SHA1 Message Date
Sébastien Crozet
77aa1dda08 Merge pull request #336 from dimforge/debug-render-tweaks
Adjust the defaults for the debug-renderer + add a JOINTS compound bitflag
2022-05-31 16:26:40 +02: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
de44fda4c3 Merge pull request #335 from dimforge/optional-instant
Make the `instant` dependency optional, behind a `profiler` cargo feature
2022-05-31 12:47:12 +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
fb1bfc762c Merge pull request #334 from dimforge/fixes
Some CCD and debug-render improvements
2022-05-31 10:22:28 +02:00
Sébastien Crozet
0640f5e660 Fix parallel build 2022-05-30 19:36:29 +02:00
Sébastien Crozet
31cfce4db3 Fix wasm build 2022-05-30 19:21:52 +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
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
6ce26f3818 CCD improvements
- Fix bug where the CCD thickness wasn’t initialized properly.
- Fix bug where the contact compliance would result in unwanted tunelling, despite CCD being enabled.
2022-05-30 18:29:18 +02:00
Sébastien Crozet
c630635e57 Merge pull request #333 from dimforge/misc-changes
Rename STATIC -> FIXED and joints_with -> attached_joints
2022-05-30 18:28:59 +02:00
Sébastien Crozet
3508ab4356 Rename STATIC -> FIXED in the ActiveCollisionTypes flags 2022-05-30 17:49:29 +02:00
Sébastien Crozet
c46f52f451 Rename JointSet::joints_with to attached_joints 2022-05-30 17:48:31 +02:00
Sébastien Crozet
033a26aac4 Merge pull request #321 from dimforge/release-0.12.0
Release v0.12.0
2022-04-30 18:06:27 +02:00
Sébastien Crozet
b22d8eda6a Release v0.12.0 2022-04-30 17:34:47 +02:00
Sébastien Crozet
4236027356 Merge pull request #320 from dimforge/narrow-phase-contact-recompute-fix
Fix bug where the narrow-phase would not recompute contacts after a collider change
2022-04-29 19:19:08 +02:00
Sébastien Crozet
8d15ceab2a Fix bug where the narrow-phase would not recompute contacts after a collider change 2022-04-29 19:15:24 +02:00
Sébastien Crozet
488aad0af3 Merge pull request #315 from dimforge/debug-renderer
Add a basic lines-based debug-renderer
2022-04-28 18:24:01 +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
Sébastien Crozet
5063fa4203 Testbed: switch to bevy 0.7 2022-04-28 13:19:58 +02:00
Sébastien Crozet
8ffb0d1658 Take round shapes into account in 2D debug render 2022-04-28 13:05:00 +02:00
Sébastien Crozet
fd12d76102 Fix panic when the world is stepped with dt = 0 2022-04-28 13:04:14 +02:00
Sébastien Crozet
95418c218b Rename RigidBody::set_mass_properties -> set_additional_mass_properties 2022-04-28 13:03:55 +02:00
Sébastien Crozet
ae40f4cd7e Add collision event flags 2022-04-28 13:03:14 +02:00
Sébastien Crozet
007406ce20 Remove unused dependency 2022-04-22 16:17:49 +02:00
Sébastien Crozet
bc2ae4b512 Add a basic lines-based debug-renderer 2022-04-22 16:11:23 +02:00
Sébastien Crozet
21a31bc102 Warning fix. 2022-04-20 19:02:49 +02:00
Sébastien Crozet
b3e5fa5c44 CI: deny warnings again 2022-04-20 19:02:49 +02:00
Sébastien Crozet
4827384e42 Remove unnecessary type annotation 2022-04-20 19:02:49 +02:00
Sébastien Crozet
9237bfd530 Remove the default-sets feature 2022-04-20 19:02:49 +02:00
Sébastien Crozet
f108520b5a Finalize refactoring 2022-04-20 19:02:49 +02:00
Sébastien Crozet
2b1374c596 First round deleting the component sets. 2022-04-20 19:02:49 +02:00
Sébastien Crozet
ee679427cd Fix mass-properties update after collider change 2022-04-20 17:11:06 +02:00
Nolan Darilek
775c45e9ff Include broken values in assertion failure message. 2022-04-19 12:34:28 +02:00
Sébastien Crozet
cb20808920 Readme: update sponsors 2022-04-18 10:44:23 +02:00
Sébastien Crozet
7efcff615e Fix broad-phase becomming potentially invalid after collision group change 2022-03-27 19:28:42 +02:00
Sébastien Crozet
0ac35e12a7 Update tests 2022-03-20 21:49:16 +01:00
Sébastien Crozet
c26c8e4932 Type fix 2022-03-20 21:49:16 +01:00
Sébastien Crozet
d22d3fcc9f Cargo fmt 2022-03-20 21:49:16 +01:00
Sébastien Crozet
8a7ec1f72e Update changelog. 2022-03-20 21:49:16 +01:00
Sébastien Crozet
d38740369c Emit collision stopped events after a collider is removed. 2022-03-20 21:49:16 +01:00
Sébastien Crozet
063c638ec5 Combine contact events and intersection events into a single event type and flags 2022-03-20 21:49:16 +01:00
Sébastien Crozet
a9e3441ecd Rename rigid-body static to fixed 2022-03-20 21:49:16 +01:00
Sébastien Crozet
db6a8c526d Fix warnings and add comments. 2022-03-20 21:49:16 +01:00
Sébastien Crozet
e2e6fc7871 Add a method to propagate collider transforms with the RigidBodySet 2022-03-20 21:49:16 +01:00
Sébastien Crozet
a041e0d314 Add 2-axes coupling for angular joint limits 2022-03-20 21:49:16 +01:00
Sébastien Crozet
8e07d8799f Rigid-body: don’t clear forces at end of timestep + don’t wake-up a rigid-body if the modified property is equal to the old value. 2022-03-20 21:49:16 +01:00
Sébastien Crozet
1535db87c7 Add a max penetration correction integration parameter 2022-03-20 21:49:16 +01:00