aevyrie / bevy_mod_raycast

A little mesh raycasting plugin for Bevy
https://crates.io/crates/bevy_mod_raycast
MIT License
320 stars 93 forks source link

Add optional indices to IntersectionData. #107

Closed brookman closed 7 months ago

brookman commented 9 months ago

Vertex indices are exposed via IntersectionData. This allows for getting additional data like vertex attributes and UVs.

I have implemented it to be able to query the texture color at the mouse pointer.

aevyrie commented 7 months ago

Closed in favor of #103.