bevy_mod_raycast
bevy_mod_raycast copied to clipboard
Unofficial plugin for raycasting in Bevy
Fixes compilation when the default features are disables. I also splitted `use` to make `cfg(feature ...)` look better. By default rust-analyzer splits includes into std, third-party and your, so I...
The link pointed to the struct before the immediate / deferred module split.
It looks like the plugin currently always raycasts against the static mesh data, which is typically a T or V pose for rigged meshes. It would be useful if it...
Note: I also ran `cargo fmt`, which reformatted `src/primitives.rs` since it used carriage returns.
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...
Hi, I upgraded to 0.16 from an earlier version where I was using `DefaultRaycastingPlugin`, and nothing worked, the `RaycastSource` ray was always `None`. Turns out `build_rays()` was not called because...
This change exposes the intersection's barycentric coord and the triangle index so they can be used to look up vertex attributes and texcoords.
It would be nice if a hit was detected on all visible faces. For the moment object with a material with a `cull_mode` of `None` (no backface culling) are not...
## Description `SimplifiedMesh` doesn't derive/implement a lot of the traits that `Handle` does. This PR derives all those traits.