Commit Graph

605 Commits

Author SHA1 Message Date
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
Sébastien Crozet
483d93af8d Fix version number for the rapier_testbed3d 2021-08-08 19:27:36 +02:00
Sébastien Crozet
48d0df11d7 Release v0.11.0 2021-08-08 19:19:16 +02: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
Sébastien Crozet
37a90a5409 Add missing comments. 2021-07-30 11:09:15 +02:00
Crozet Sébastien
729e510c00 Make BroadPhasePairEvent and ColliderPair public.
Otherewise it is impossible to use BroadPhase::update properly.
2021-07-30 11:09:15 +02:00
rezural
75a677c58a clear plugin graphics when examples changed, then clear the plugins vec 2021-07-27 15:09:31 +02:00
Oli Scherer
44244c324a Fix copy paste bug in ball joint docs 2021-07-27 10:47:01 +02:00
Jeff Petkau
5eb5398a7e Add a pointer from docs.rs docs to rapier docs
Added a pointer from the module-level cargo docs to the actual docs on `rapier.rs` so other people won't be lost like I was.

(Searches for documentation often end up on `docs.rs`, which is not where most of Rapier's docs live. The README has a pointer to the docs, but it isn't as visible once you're on `docs.rs`.)

This is the same change as pr89 for `bevy_rapier`. This one is less important less likely to overlook `rapier.rs`, but I think it doesn't hurt.

Ideally you'd be able to just include the `README.md` into the lib documentation, but I think that's still a nightly-only feature in cargo doc.
2021-07-27 10:46:29 +02:00
Benjamin Saunders
92b8580761 Update intersection graph regardless of active_events 2021-07-14 20:16:19 +02:00
Crozet Sébastien
ddb978c77a Release v0.10.1 2021-07-12 10:12:29 +02:00
Crozet Sébastien
8e0aa2ac79 Add methods to set the translation or rotation wrt. a collider and its parent. 2021-07-12 10:10:59 +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
rezural
3b0d256464 make collider Option<> on EntityWithGraphics 2021-07-08 10:07:42 +02:00
rezural
53700db860 add opacity to EntityWithGraphics 2021-07-08 10:07:42 +02:00
rezural
9f8d9769f8 add despawn method to EntityWithGraphics 2021-07-08 10:07:42 +02:00
rezural
0e1215e4ed add update_ui to TestbedPlugin 2021-07-08 10:07:42 +02:00
rezural
7c249c873d enable clear_graphics and run_callbacks agin
update plugin signature to recieve bevy structs, add Arc<Mutex<>> around gfx_components, we we can get shared mutable access
add prefab_meshes() access function

Remove Arc<Mutex<>>
2021-07-08 10:07:42 +02:00
Waridley
62d6b0651b Derive Clone for IslandManager
also fix typo
2021-06-09 11:07:37 +02:00
Crozet Sébastien
e03dcd6979 Release v0.9.2 2021-06-08 18:25:41 +02:00
Crozet Sébastien
ff6c75f3bd Fix collider removal from narrow-phase when the same collider is listed twice. 2021-06-08 18:23:40 +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
Stephan Dilly
57ed0430d1 fixed a few typos 2021-06-03 12:21:08 +02:00
Crozet Sébastien
97304597b8 Release v0.9.1 2021-06-03 10:28:00 +02:00
Crozet Sébastien
59e5d8e7f9 Add nalgebra to the prelude to make the macros work out of the box 2021-06-03 10:21:18 +02:00