You need to create bullets with physics bodies disabled. When enabled they can collide, it doesn’t matter if the sprite is active
or not.
One way is
// AmmoGroup constructor()
super(scene.physics.world, scene, { enable: false });
You need to create bullets with physics bodies disabled. When enabled they can collide, it doesn’t matter if the sprite is active
or not.
One way is
// AmmoGroup constructor()
super(scene.physics.world, scene, { enable: false });