Commit Graph

327 Commits

Author SHA1 Message Date
Sébastien Crozet 7703333781 Merge pull request #286 from funmaker/sleep_fix
Fix rigid bodies falling asleep when linear/angular threshold is negative
2022-03-06 22:45:28 +01:00
Nathan Stocks 4f9d21f4fd derive Debug for IntegrationParameters 2022-02-24 15:35:35 -07:00
Sébastien Crozet 15b165893c Use WReal instead of SimdRealField everywhere 2022-02-21 21:19:30 +01:00
Fun Maker 8c5f88738d Fix rigid bodies falling asleep when linear/angular threshold is negative. 2022-01-31 20:23:42 +01:00
Sébastien Crozet 3e25e3efba Fix the application of damping to bodies part of an active island 2022-01-28 20:28:49 +01:00
Sébastien Crozet 0c7ebae1aa Run cargo fmt 2022-01-23 18:04:24 +01:00
zhguchev 536122e080 add defaults for the several structs 2022-01-23 18:01:50 +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 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 8213e92f14 Fix parallel build. 2022-01-16 16:37:44 +01:00
Sébastien Crozet b631fe9193 Allow locking individual translational axes 2022-01-09 22:15:36 +01:00
Sébastien Crozet 87ec0ced40 Address issues with the genral-case for multibody joints 2022-01-08 21:09:11 +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 fcf9e61e28 Fix warnings 2022-01-02 17:25:15 +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 b45d4b5ac2 Track the change of effective dominance of a rigid-body. 2021-10-26 15:38:54 +02:00
Benjamin Saunders f73e68d34a Note CCD interpenetration behavior 2021-10-24 13:35:10 +02:00
Jamen Marz 7aa94e994f Impl Default for a few structs 2021-09-25 13:50:12 +02:00
Sébastien Crozet b364a2b052 Fix velocity computation for position-based kinematic bodies 2021-09-12 01:49:09 -07:00
Sébastien Crozet 57aec69c1e Update to nalgebra 0.29 2021-08-08 19:19:16 +02:00
Sébastien Crozet 13aebc4242 Fix warnings. 2021-08-08 18:38:12 +02:00
Sébastien Crozet 16af01da42 Run cargo fmt 2021-08-08 18:38:12 +02:00
Sébastien Crozet eb8f6d360d Fix 2D ball joint limits. 2021-08-08 18:38:12 +02:00
Sébastien Crozet f7643272f4 Implement limits for ball joints. 2021-08-08 18:38:12 +02:00
Sébastien Crozet ac77c95c9c Implement limits for revolute joints. 2021-08-08 18:38:12 +02:00
Sébastien Crozet fd778b607f Fix emscripten build + add emscripten build to the CI 2021-07-30 11:29:32 +02:00
Oli Scherer 44244c324a Fix copy paste bug in ball joint docs 2021-07-27 10:47:01 +02:00
Crozet Sébastien 77a6cd3f26 Release v0.10.0 2021-07-11 19:21:50 +02:00
Waridley 9233a855f0 impl more traits for components 2021-07-11 18:22:39 +02:00
Waridley 62d6b0651b Derive Clone for IslandManager
also fix typo
2021-06-09 11:07:37 +02:00
Crozet Sébastien bccb7d4c66 Track the rigid-body graph IDs inside of the JointSet instead of RigidBodyIds 2021-06-08 18:23:40 +02:00
Sébastien Crozet c7b876e2f7 Merge pull request #173 from DasEtwas/must-use-pub
Add #[must_use] to builders, expose more fields
2021-06-02 17:37:13 +02:00
Sébastien Crozet 8a3103a35b Merge pull request #195 from tpdickso/ungenerate-nans
Add feature flag to disable floating point exceptions in unexceptional code
2021-06-02 17:26:47 +02:00
Terence 94993901cd wip 2021-06-01 20:41:38 -04:00
Crozet Sébastien 7153eb7779 Add ActiveCollisionTypes to easily enable collision-detection between two non-static rigid-body. 2021-06-01 17:59:07 +02:00
Crozet Sébastien dbb3c8f43b CCD: take collision groups into account 2021-06-01 14:56:24 +02:00
Crozet Sébastien 5ef81cda40 Add velocity-based kinematic bodies 2021-06-01 14:55:50 +02:00
Crozet Sébastien 826ce5f014 Rework the event system 2021-06-01 12:36:01 +02:00
Crozet Sébastien 1bef66fea9 Add prelude + use vectors for setting linvel/translation in builders 2021-05-25 11:00:13 +02:00
DasEtwas 810c39d427 Remove Copy from RigidBodyBuilder 2021-05-06 22:39:55 +02:00
DasEtwas 2817fb0acb Added documentation to newly public fields derived from setters 2021-05-06 20:42:24 +02:00
DasEtwas 716c343979 Add #[must_use] to builders, expose more fields 2021-05-06 20:41:13 +02:00
Crozet Sébastien 2dfbd9ae92 Add comments. 2021-04-30 11:37:58 +02:00
Crozet Sébastien 5cf805075e Fix compilation of the parallel version 2021-04-29 12:09:35 +02:00
Crozet Sébastien 3810466326 Fix some warnings 2021-04-29 10:33:07 +02:00
Crozet Sébastien 83cb981a88 Fix regression in CCD resolution. 2021-04-27 16:43:24 +02:00