-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undocumented DefaultRaycastingPlugin
vs. DeferredRaycastingPlugin
#105
Comments
This was mentioned in the changelog for 0.15. There is also extensive documentation at the root of the crate explaining the two APIs and how to choose them: https://docs.rs/bevy_mod_raycast/latest/bevy_mod_raycast/ |
I understand the difference between the two APIs, but I don't see any mention of |
Addressed with a rename and docs in 0.18.0-rc.0 |
Hi,
I upgraded to 0.16 from an earlier version where I was using
DefaultRaycastingPlugin
, and nothing worked, theRaycastSource
ray was alwaysNone
. Turns outbuild_rays()
was not called because I needed insteadDeferredRaycastingPlugin::<T>
. But this doesn't seem to be explained anywhere, andDefaultRaycastingPlugin
is not documented either.Switching to
DeferredRaycastingPlugin::<T>
instead solved everything. Maybe there should be some mention in the docs?The text was updated successfully, but these errors were encountered: