explosion.setTransform(loc);
explosion.warmUp(1);
example.getRoot().attachChild(explosion);
example.getRoot().updateWorldTransform(true);
explosion.getParticleController().addListener(new ParticleControllerListener() {
@Override
public void onDead(final ParticleSystem particles) {
explosion.removeFromParent();
}
});