Hey everyone. I posted something similar much earlier, but I was too unclear for you all to be able to help me. I have this torch with a fire particle effect on top, and you can only see the full particle effect when you have one specific camera angle. From most angles, you can hardly see it at all! I figure this is a common problem, because the effect I’m using is an exact copy of what is seen in the example on Hello Effects. Just to be safe though, here is the code.
fire = new ParticleEmitter(“Emitter”, ParticleMesh.Type.Triangle, 30);
Material mat_red = new Material(assetManager, “Common/MatDefs/Misc/Particle.j3md”);
fire.setMaterial(mat_red);
fire.setImagesX(2); fire.setImagesY(2); // 2x2 texture animation
fire.setEndColor( new ColorRGBA(1f, 0f, 0f, 1f)); // red
fire.setStartColor(new ColorRGBA(1f, 1f, 0f, 0.5f)); // yellow
fire.getParticleInfluencer().setInitialVelocity(new Vector3f(0, 2, 0));
fire.setStartSize(0.6f);
fire.setEndSize(0.1f);
fire.setGravity(0f,0f,0f);
fire.setLowLife(0.5f);
fire.setHighLife(3f);
fire.getParticleInfluencer().setVelocityVariation(0.3f);
fire.setLocalTranslation(36.8f,-19,57.5f);
rootNode.attachChild(fire); /** Explosion effect. Uses Texture from jme3-test-data library! */
fire.emitAllParticles();
I just want to be able to see my torch >.> Any thoughts?