Problem when rotating a particle node

I've made a particle and want to aplly some transforms to it. Scale and translation are ok, but rotation simply don't work. Does someone have an idea?



Here is my code:



try {

this.particleNode = (Node)BinaryImporter.getInstance().load(

ModeloEParticulas.class.getClassLoader().getResource("particles/particulas.jme"));



} catch (IOException e) {

e.printStackTrace();

}



this.node.attachChild(this.particleNode);



(…)



this.particleNode.setLocalScale(0.2f); // works

this.particleNode.setLocalTranslation(new Vector3f(6.5f, -5f, 10f)); // works



Quaternion y90 = new Quaternion();

y90.fromAngleAxis(FastMath.PI/2, new Vector3f(0,1,0));

this.particleNode.setLocalRotation(y90); // dont work



I've tried to aplly the transform to the rootNode in hope that rotation affect the particle node. All my nodes rotated, except the particle node.

I've had the same problem, you should checj the check box rotate with the emiter in the renParticleEditor. It worked for me.