| Crates.io | bevy_picking_bvh_backend |
| lib.rs | bevy_picking_bvh_backend |
| version | 0.1.0 |
| created_at | 2025-02-17 14:18:28.369764+00 |
| updated_at | 2025-02-17 14:18:28.369764+00 |
| description | A picking backend plugin for Bevy which uses a BVH tree to improve performances. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1558966 |
| size | 186,976 |
This plugins is a drop-in replacement of MeshPickingPlugin, reusing most of its components, to provider better performance when raycasting through a (very) large mesh.
To try the example, just run :
cargo run --example simple --release
For large meshes, it is recommended to use release mode, because building of the BVH tree can take some time
Download the following mesh https://github.com/pettett/dragon_high using the following commands:
mkdir -p assets/models
wget https://github.com/pettett/dragon_high/raw/refs/heads/main/dragon_high.glb -O assets/models/dragon_high.glb
Then run the dragon_high sample:
cargo run --example dragon_high --release