Skip to content
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

Consider bevy_mod_raycast #11

Open
wendivoid opened this issue Dec 20, 2021 · 0 comments
Open

Consider bevy_mod_raycast #11

wendivoid opened this issue Dec 20, 2021 · 0 comments
Labels
enhancement New feature or request R & D Research and Development

Comments

@wendivoid
Copy link
Owner

Using bevy_mod_raycast to fire weapons might have some advantages, since it operates on the actual mesh's instead of the colliders.
This should make firing the weapon more accurate since you can only hit a mesh.

When toying with this i found that using the plugin slows down the GameLoop by roughly 10fps, i'm already kinda skirting the lower end of performance i can manage but i think making a custom version of the plugin could fix that since i don't need to be raycasting all the time only when the weapon is fired. On a side note this would make implementing a crosshair easier so i don't know what to do 😢

@wendivoid wendivoid added enhancement New feature or request R & D Research and Development labels Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request R & D Research and Development
Projects
None yet
Development

No branches or pull requests

1 participant