Releases: aevyrie/bevy_mod_picking
v0.19.0
What's Changed
- add render_to_texture example by @IceSentry in #327
- Ignore UI nodes with a ZERO rect by @keis in #321
- Add support for multiple versions of egui and rapier by @aevyrie in #334
- Fix touch missing pointers by @aevyrie in #319
- Make highlight plugin setting public by @aevyrie in #335
- 0.19.0 release by @aevyrie in #336
New Contributors
- @IceSentry made their first contribution in #327
Full Changelog: v0.18.0...v0.19.0
v0.18.0
0.18.0
Announcements:
This plugin is now officially planned to be upstreamed into Bevy. This will require the
bevy_eventlistener
crate is also upstreamed, and a few critical features added or changed based on
feedback from Bevy's BDFL. Many of the sub-crates in this repo are not appropriate for upstreaming,
and will remain here. This includes things like the egui
or rapier
backends, or the highlighting
crate.
The intent is to upstream bevy_eventlistener
and bevy_picking_core
to be included in Bevy
0.14
, time permitting.
Known bugs:
- The
bevy_ui
debug overlay is broken until bevyengine/bevy#12268 is
released as part ofbevy 0.13.1
.
Changes:
New bevy_xpbd backend
- Added:
bevy_xpbd_3d
picking backend, available behind the optionalbackend_xpbd
feature.
Automatic 3D Pointer Rays
- Added:
RayMap
resource that contains aRay
for every (camera, pointer) pair. This is useful
for any users building a raycasting-based picking backend, handling viewports and scale for you. - Changed: rapier and bevy_mod_raycast backends use the
RayMap
instead of constructing their own
rays. - Fixed: Ray construction now respects DPI / window scale.
Expanded features
- Added: support for touch inputs across multiple windows.
- Added: support for
bevy_ui
UiScale
. - Added:
RaycastBackendSettings::raycast_visibility
to support picking hidden meshes. - Changed: simplified debug settings and examples. Debug settings can be changed with the
DebugPickingMode
resource.
Bug Fixes
- Fixed: sprite picking depth is now consistent with other picking backends.
- Fixed: entities with identical depth could be dropped due to the use of a BTreeMap to sort
entities by depth. This has been changed to use a sorted Vec, to allow entities with the same
depth to coexist. - Fixed: rapier and bevy_mod_raycast backends use
RenderLayers::default
when a camera is missing
them. - Fixed: the bevy ui backend now ignores clipped areas of UI nodes.
- Fixed:
PickingPluginsSettings::enable_input
is now used as a run condition forPickSet::ProcessInput
. - Fixed: replaced uses of
.insert
with.try_insert
, where they could potentially panic. - Fixed: replace all
.single
calls with matched.get_single
calls to avoid crashing in
environments where there is no window available.
Documentation and Naming
- Documentation pass over all docs.
- Changed: renamed
Pickable::should_emit_events
tois_hoverable
and clarified the docs. - Removed:
PickingPluginsSettings::enable_highlighting
, which was nonfunctional. - Changed: renamed
PickingPluginsSettings
,HighlightingPluginSettings
fields to be consistent.
RenamedSelectionSettings
toSelectionPluginSettings
.
New Contributors
- @TheFedaikin made their first contribution in #292
- @awtterpip made their first contribution in #279
- @dgriffith0 made their first contribution in #282
- @ickshonpe made their first contribution in #285
- @teodosin made their first contribution in #293
- @Schmarni-Dev made their first contribution in #296
- @janriemer made their first contribution in #299
- @skylerparr made their first contribution in #304
- @StrikeForceZero made their first contribution in #314
- @NthTensor made their first contribution in #297
- @Affinator made their first contribution in #306
Full Changelog: v0.17.0...v0.18.0
v0.17.0
What's Changed
- Bevy 0.12 by @TristanCacqueray in #276
New Contributors
- @TristanCacqueray made their first contribution in #276
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- Correctly handle viewports with rapier backend by @aevyrie in #216
- Fix inverted bevy_ui backend by @aevyrie in #218
- Egui backend system ordering by @aevyrie in #217
- Allow hits with pass focus policy to continue to lower layers by @keis in #208
- Fix drag bug by @aevyrie in #227
- Do not enable bevy_pbr with backend_sprite feature by @NiklasEi in #225
- Use
bevy_eventlistener
by @aevyrie in #226 - Add a state resource for controlling the debug plugin by @yyogo in #214
- v0.14 by @aevyrie in #228
- Cleanup by @bonsairobo in #232
- Support Bevy 0.11 by @bardt in #237
- Remove focuspolicy by @aevyrie in #230
- add backend constructors by @aevyrie in #242
- Fix anchor handling in sprite backend by @nametable in #243
- cargo fmt by @waywardmonkeys in #252
- Fix typo in CHANGELOG.md by @keis in #248
- clippy: Fix redundant closure. by @waywardmonkeys in #251
- Fix hit box of scaled sprites by @hmeine in #254
- small suggestion for docs, giving pointers to bevy_eventlistener by @mattdm in #261
- Change log level from info to debug and trace by @mattdm in #262
- Support rotated sprites (and rotated hit boxes) by @hmeine in #255
- Fix ordering bug in SelectionPlugin by @TheRawMeatball in #266
- Add example for changing the debug output state. by @mattdm in #260
- Dependency reduction and settings refactor by @aevyrie in #247
- Add doc tests to CI by @aevyrie in #267
- Fix PickingPluginsSettings::interaction_should_run by @obellish in #271
- Add texture atlas support to sprite backend by @nickcomua in #268
New Contributors
- @keis made their first contribution in #208
- @NiklasEi made their first contribution in #225
- @yyogo made their first contribution in #214
- @bonsairobo made their first contribution in #232
- @bardt made their first contribution in #237
- @nametable made their first contribution in #243
- @waywardmonkeys made their first contribution in #252
- @hmeine made their first contribution in #254
- @mattdm made their first contribution in #261
- @obellish made their first contribution in #271
- @nickcomua made their first contribution in #268
Full Changelog: v0.13...v0.16.0
v0.15.0
What's Changed
- Cleanup by @bonsairobo in #232
- Support Bevy 0.11 by @bardt in #237
- Remove focuspolicy by @aevyrie in #230
- add backend constructors by @aevyrie in #242
New Contributors
- @bonsairobo made their first contribution in #232
- @bardt made their first contribution in #237
Full Changelog: v0.14.0...v0.15.0
v0.14
What's Changed
- Correctly handle viewports with rapier backend by @aevyrie in #216
- Fix inverted bevy_ui backend by @aevyrie in #218
- Egui backend system ordering by @aevyrie in #217
- Allow hits with pass focus policy to continue to lower layers by @keis in #208
- Fix drag bug by @aevyrie in #227
- Do not enable bevy_pbr with backend_sprite feature by @NiklasEi in #225
- Use
bevy_eventlistener
by @aevyrie in #226 - Add a state resource for controlling the debug plugin by @yyogo in #214
New Contributors
- @keis made their first contribution in #208
- @NiklasEi made their first contribution in #225
- @yyogo made their first contribution in #214
Full Changelog: v0.13...v0.14.0
v0.13
v0.12
v0.11
What's Changed
- replace trait with closure at setup by @aevyrie in #173
- Make plugin field pub by @TheRawMeatball in #174
New Contributors
- @TheRawMeatball made their first contribution in #174
Full Changelog: v0.10.0...v0.11
v0.10.0
What's Changed
- Don't skip existing pick_sources if one returns None by @gavlig in #160
- Update to Bevy 0.9 by @olegomon in #168
- Implement
Reflect
for all components by @SludgePhD in #164 - Simplify highlighting assets further by @aevyrie in #136
- Release v0.10 by @aevyrie in #170
New Contributors
- @olegomon made their first contribution in #168
- @SludgePhD made their first contribution in #164
Full Changelog: v0.9.0...v0.10.0