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

Bullet doesn't gets destroyed even on hitting the target #9

Open
knightMash opened this issue Jul 30, 2020 · 2 comments
Open

Bullet doesn't gets destroyed even on hitting the target #9

knightMash opened this issue Jul 30, 2020 · 2 comments

Comments

@knightMash
Copy link

The bullet even keeps travelling even after hitting the object. How can the bullet be destroyed as soon as it hits the target?

@feiss
Copy link
Contributor

feiss commented Jul 30, 2020

Are you sure they hit the target? Maybe the bullets move too fast. Does that happen also with very slow bullets?

Does the target move? In that case, set the attribute static: false

@robiiiiiiiiiiiin
Copy link

Be sure that two bullets are not shot exactly at the same time. It can happen if you use "mousedown" event (as suggested in the doc for the click-to-shoot component) alongside mutliple vr controllers (see aframevr/aframe#4496)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants