Commit Graph

636 Commits

Author SHA1 Message Date
zhguchev
536122e080 add defaults for the several structs 2022-01-23 18:01:50 +01:00
Sébastien Crozet
1608a1323e Merge pull request #282 from dimforge/critical-damping
Improve the CFM implementation
2022-01-23 08:56:27 -08:00
Sébastien Crozet
b3b675d2de Fix tests build 2022-01-23 17:17:30 +01:00
Sébastien Crozet
5e2111bdb1 Fix compilation of parallel version 2022-01-23 17:06:42 +01:00
Sébastien Crozet
9bfcde25e0 Run cargo fmt 2022-01-23 16:59:03 +01:00
Sébastien Crozet
78c8bc6cde Improve cfm configuration using the critical damping factor 2022-01-23 16:50:26 +01:00
Sébastien Crozet
b7bf80550d Add vscode project files 2022-01-23 16:49:20 +01:00
Sébastien Crozet
e6af3384e1 Move convex decomposition example models to the assets folder. 2022-01-23 16:49:03 +01:00
Sébastien Crozet
31e7d95ff9 Add f64 testbed 2022-01-23 16:48:24 +01:00
Sébastien Crozet
ca635674fc Bump testbed to version 0.12.0-alpha.1 2022-01-21 12:47:01 +01:00
Sébastien Crozet
3a2f5f7cf5 Fix publish script 2022-01-16 17:25:57 +01:00
Sébastien Crozet
9fe55dccd5 Release v0.12.0-alpha.1 2022-01-16 17:22:46 +01:00
Sébastien Crozet
1880619d29 Merge pull request #277 from dimforge/solver-fixes
Fix some solver issues
2022-01-16 08:20:22 -08: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
4454a845e9 Merge pull request #276 from dimforge/lock-translation-axis
Allow locking individual translational axes
2022-01-16 07:52:19 -08:00
Sébastien Crozet
8213e92f14 Fix parallel build. 2022-01-16 16:37:44 +01:00
Sébastien Crozet
0ccd15c4b1 Merge pull request #270 from tjamaan/fix_RigidBodyVelocity_rotation_center
fix the parameter used for local center of mass
2022-01-10 11:38:43 -08:00
Sébastien Crozet
b631fe9193 Allow locking individual translational axes 2022-01-09 22:15:36 +01:00
Sébastien Crozet
2bfceadf06 Merge pull request #273 from dimforge/testbed-bevy-0.6
Update the testbed to use bevy 0.6
2022-01-09 20:42:34 +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
6627f7193b Merge pull request #272 from dimforge/multibody-general-case
Address issues with the genral-case for multibody joints
2022-01-09 20:40:54 +01:00
Sébastien Crozet
87ec0ced40 Address issues with the genral-case for multibody joints 2022-01-08 21:09:11 +01:00
Turki Jamaan
367fc3405f remove unnecessary comment
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2022-01-08 21:37:13 +03:00
Turki Jamaan
e41fccb9fb fix the parameter used for local center of mass 2022-01-08 20:04:22 +03:00
Sébastien Crozet
9726738cd2 Release v0.12.0-alpha.0 2022-01-02 18:08:29 +01:00
Sébastien Crozet
1308db8994 Merge pull request #267 from dimforge/multibody
Implement multibody joints, and new velocity-based constraints solver
2022-01-02 18:05:50 +01:00
Sébastien Crozet
9f9d329360 Fix tests 2022-01-02 17:43:38 +01:00
Sébastien Crozet
90edb4b532 More warning fixes + temporarily disable -D warning in the CI 2022-01-02 17:29:34 +01:00
Sébastien Crozet
fcf9e61e28 Fix warnings 2022-01-02 17:25:15 +01:00
Sébastien Crozet
ae27e1c331 Run cargo fmt 2022-01-02 17:22:37 +01:00
Sébastien Crozet
f74b8401ad Implement multibody joints and the new solver 2022-01-02 16:58:36 +01:00
Dmitry Stepanov
8e7da5ad45 fixed restrict_rotations 2021-12-31 10:05:46 +01:00
Jakub Arnold
64e5a98833 Minor documentation fixes 2021-12-31 10:04:29 +01:00
Sébastien Crozet
8fa6653820 Remove useless ref 2021-11-05 10:47:03 +01:00
Sébastien Crozet
b45d4b5ac2 Track the change of effective dominance of a rigid-body. 2021-10-26 15:38:54 +02:00
Benjamin Saunders
601955b4ee Remove duplicate test 2021-10-24 13:36:29 +02:00
Benjamin Saunders
f73e68d34a Note CCD interpenetration behavior 2021-10-24 13:35:10 +02:00
Sébastien Crozet
7cda2f05e2 Testbed: don’t panic when trying to render an unknown custom shape. 2021-10-20 16:58:10 +02:00
Sébastien Crozet
b59e813fd3 Remove debug print 2021-10-14 12:14:34 +02:00
Sébastien Crozet
fe87e2d586 Fix testbed rendering of colliders without parent 2021-10-14 12:14:34 +02:00
Jamen Marz
7aa94e994f Impl Default for a few structs 2021-09-25 13:50:12 +02:00
Sébastien Crozet
936f655c67 Release v0.11.1 2021-09-12 10:53:01 +02:00
Sébastien Crozet
d9069142e1 Use parry ^0.7.1 2021-09-12 01:49:09 -07:00
Sébastien Crozet
d858ae4c4e Make the 2D add-remove demo more intereting. 2021-09-12 01:49:09 -07:00
Sébastien Crozet
5e133aac92 Fix broad-phase bug that could result in missed collision pairs when an object leaves then re-enter a region 2021-09-12 01:49:09 -07:00
Sébastien Crozet
b364a2b052 Fix velocity computation for position-based kinematic bodies 2021-09-12 01:49:09 -07:00
Benjamin Saunders
291be142a5 Clarify coordinate space of TOI query results 2021-08-30 10:12:59 +02:00
Kane Rogers
29462e2968 Fix typo in CONTRIBUTING 2021-08-26 10:29:24 +02:00
Kane Rogers
3f223aaf9e Fix bug with colliders without rigid bodies
- When `NarrowPhase` adds a collision pair, it checks to make sure that they don't have the same parent
- In the case where the colliders have no parents (eg. they are not attached to a `RigidBody`) this yields a false positive.
- The fix is to ensure that colliders have a parent before ignoring the pair.
2021-08-26 10:29:24 +02:00
Alex Touchet
1d55e841ec Fix crates.io badges 2021-08-09 19:14:09 +02:00