aframe-super-shooter-kit
aframe-super-shooter-kit copied to clipboard
Bullet doesn't gets destroyed even on hitting the target
The bullet even keeps travelling even after hitting the object. How can the bullet be destroyed as soon as it hits the target?
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
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 https://github.com/aframevr/aframe/issues/4496)