aevyrie / bevy_mod_picking

Picking and pointer events for Bevy.
https://crates.io/crates/bevy_mod_picking
Apache License 2.0
784 stars 171 forks source link

Rapier backend doesn't work #307

Closed Multirious closed 8 months ago

Multirious commented 8 months ago

I was trying to get rapier backend to work for hours. Then I tried the example rapier.rs copy pasted to my project which actually turns out that it doesn't works.

Tested with the following dependencies

[dependencies]
bevy = { version = "0.12.1" }
bevy_mod_picking = { version = "0.17.0", features = ["backend_rapier"]}
bevy_rapier3d = { version = "0.24.0", features = ["debug-render-3d"] }
tychedelia commented 8 months ago

You're using the wrong bevy_rapier3d version. See https://github.com/aevyrie/bevy_mod_picking/blob/main/backends/bevy_picking_rapier/Cargo.toml#L25.