Commit Graph

780 Commits

Author SHA1 Message Date
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
Crozet Sébastien
fdd370e51a Release v0.9.0 2021-06-02 18:01:23 +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
ad2fcf755a Merge pull request #176 from sdfgeoff/add_collider_shared_shape_method
Created a method to retrieve the SharedShape from a collider
2021-06-02 17:32:56 +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
Sébastien Crozet
d3d998e91e Merge pull request #193 from rezural/egui-focus
Testbed: check if the egui context wants pointer focus, disable orbit camera if so.
2021-06-02 17:18:35 +02:00
Sébastien Crozet
6ba1c9dec1 Merge pull request #196 from dimforge/api_changes
More API changes
2021-06-02 17:15:46 +02:00
Crozet Sébastien
bde6657287 Fix tests and wasm build. 2021-06-02 16:22:40 +02:00
Crozet Sébastien
acc4e4f301 Reorganize the CHANGELOG for the next version. 2021-06-02 16:07:14 +02:00
Crozet Sébastien
e0e341214c Update dependencies 2021-06-02 16:00:23 +02:00
Terence
6356dca1d5 remove c_int 2021-06-01 21:35:29 -04:00
Terence
16fd97595d wee 2021-06-01 21:28:00 -04: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
1839f61d81 Add a velocity-based platform the the platform demos. 2021-06-01 15:02:48 +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
rezural
a49605bd9b check if the egui context wants pointer focus, disable orbit camera if so. this disables egui interactions being sent to the orbital camera 2021-05-29 13:00:01 +10:00
Crozet Sébastien
1bef66fea9 Add prelude + use vectors for setting linvel/translation in builders 2021-05-25 11:00:13 +02:00
Sébastien Crozet
3bac79ecac Merge pull request #189 from dimforge/bevy_renderer
Testbed: replace Kiss3d by Bevy
2021-05-18 10:52:06 +02:00
Crozet Sébastien
47139323e0 Fix compilation with the parallel feature enabled. 2021-05-17 10:48:51 +02:00
Crozet Sébastien
bf91e81dfb Fix 2D benchmarks compilation. 2021-05-17 10:10:09 +02:00
Crozet Sébastien
abb4742758 Fix warnings when compiling tests. 2021-05-17 09:46:07 +02:00
Crozet Sébastien
dc9552e175 Switch to our fork of bevy-orbit-controls for now. 2021-05-17 09:29:14 +02:00
Crozet Sébastien
1a84bf2af3 Replace Kiss3d by Bevy for the testbed renderer. 2021-05-16 17:49:20 +02:00