playLaser=true;
laserSound.play();
        public void performAction(float time) {            System.out.println("BANG");            /** Create bullet*/            Sphere bullet=new Sphere("bullet"+numBullets++,8,8,.25f);            bullet.setModelBound(new BoundingSphere());            bullet.updateModelBound();            /** Move bullet to the camera location*/            bullet.setLocalTranslation(new Vector3f(cam.getLocation()));            bullet.setRenderState(bulletMaterial);            /** Update the new world locaion for the bullet before I add a controller*/            bullet.updateGeometricState(0,true);            /** Add a movement controller to the bullet going in the camera's direction*/            bullet.addController(new BulletMover(bullet,new Vector3f(cam.getDirection())));            rootNode.attachChild(bullet);            rootNode.updateRenderState();            /** Signal to play laser during rendering*/            playLaser=true;        }