* All rights reserved. This program and the accompanying materials\r
* are made available under the terms of the Eclipse Public License v1.0\r
* which accompanies this distribution, and is available at\r
* All rights reserved. This program and the accompanying materials\r
* are made available under the terms of the Eclipse Public License v1.0\r
* which accompanies this distribution, and is available at\r
- particle = ParticleFactory.buildParticles("Animation of " + s.getResource().getResourceId(s.getGraph().getSession()),numParticles, ParticleGeometry.PT_QUAD);//new ParticleMesh("Animation of " + r.getId(),40);\r
+ particle = ParticleFactory.buildParticles("Animation of " + s.getResource().getResourceId(),numParticles, ParticleGeometry.PT_QUAD);//new ParticleMesh("Animation of " + r.getId(),40);\r
particle.setEmissionDirection(VecmathJmeTools.get(dir).normalize());\r
particle.setLocalTranslation(VecmathJmeTools.get(p1));\r
particle.setEmitType(ParticleGeometry.ET_POINT);\r
particle.setEmissionDirection(VecmathJmeTools.get(dir).normalize());\r
particle.setLocalTranslation(VecmathJmeTools.get(p1));\r
particle.setEmitType(ParticleGeometry.ET_POINT);\r