Skip to content

Possibly a stupid question #140

Answered by aevyrie
egol asked this question in Q&A
Jun 15, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The plugin is built on top of bevy_mod_raycast, which provides that functionality. See here: https://github.com/aevyrie/bevy_mod_raycast/blob/0a5d1e3334285eaf85e97adc28b14cbb50ab1b48/examples/minimal.rs#L69-L78

Note, you will need to use bevy_mod_picking's PickingRaycastSet type here, or:

query: Query<&Intersection<PickingRaycastSet>>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@egol
Comment options

Answer selected by egol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants