13 releases (7 breaking)
0.20.0 | Jul 6, 2024 |
---|---|
0.19.1 | Jun 21, 2024 |
0.18.0 | Mar 5, 2024 |
0.17.0 | Nov 10, 2023 |
0.2.0 | Jul 7, 2023 |
#2283 in Game dev
8,224 downloads per month
Used in 34 crates
(2 directly)
83KB
1.5K
SLoC
bevy_picking_input
is a thin layer that provides unsurprising default inputs to bevy_picking core
. The included systems are responsible for sending mouse and touch inputs to their
respective Pointer
s.
Because this resides in its own crate, it's easy to omit it, and provide your own inputs as
needed. Because Pointer
s aren't coupled to the underlying input hardware, you can easily mock
inputs, and allow users full accessibility to map whatever inputs they need to pointer input.
If, for example, you wanted to add support for VR input, all you need to do is spawn a pointer
entity with a custom PointerId
, and write a system
that updates its position.
Dependencies
~32–68MB
~1M SLoC