How to attach an emitter to a Box?

I have a Geometry, and am trying to attach a ParticleEmitter to it. I thought it would go something like this :



[java]Node n = new Node();

n.attachChild(g); //my Geometry object, which shows up when I run it

n.attachChild(fire); //my Emitter object, which does not move when the Geometry object moves

rootNode.attachChild(n);[/java]

Your comment says “which does not move when the Geometry object moves”. Are you moving the Node n or Geometry g? It should work if your moving the node

Oh man, Capt. Obvious strikes again. Thank you! :slight_smile: