Skip to content

Releases: aevyrie/bevy_mod_picking

v0.19.0

12 Jun 07:02
757a1ed
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.18.0...v0.19.0

v0.18.0

05 Mar 11:05
Compare
Choose a tag to compare

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:

Changes:

New bevy_xpbd backend

  • Added: bevy_xpbd_3d picking backend, available behind the optional backend_xpbd feature.

Automatic 3D Pointer Rays

  • Added: RayMap resource that contains a Ray 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 for PickSet::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 to is_hoverable and clarified the docs.
  • Removed: PickingPluginsSettings::enable_highlighting, which was nonfunctional.
  • Changed: renamed PickingPluginsSettings, HighlightingPluginSettings fields to be consistent.
    Renamed SelectionSettings to SelectionPluginSettings.

New Contributors

Full Changelog: v0.17.0...v0.18.0

v0.17.0

10 Nov 08:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.16.0...v0.17.0

v0.16.0

30 Oct 10:46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13...v0.16.0

v0.15.0

04 Oct 09:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.14

07 Jul 07:02
Compare
Choose a tag to compare

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

Full Changelog: v0.13...v0.14.0

v0.13

15 May 16:50
Compare
Choose a tag to compare

What's Changed

  • Replace unmaintained actions-rs/* actions in CI workflows by @striezel in #196
  • Update actions/checkout in GitHub Actions workflow to v3 by @striezel in #195
  • Plugin Rewrite Beta by @aevyrie in #180

New Contributors

Full Changelog: v0.12...v0.13

v0.12

24 Mar 06:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11...v0.12

v0.11

24 Mar 06:16
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.11

v0.10.0

13 Nov 10:26
912fe93
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.9.0...v0.10.0