Home | History | Annotate | Download | only in influencers

Lines Matching refs:Particle

3 import com.jme3.effect.Particle;
34 public void influenceParticle(Particle particle, EmitterShape emitterShape) {
35 emitterShape.getRandomPointAndNormal(particle.position, particle.velocity);
36 // influencing the particle's velocity
38 particle.velocity.multLocal(normalVelocity);
41 temp.set(particle.velocity.z * surfaceTangentFactor, particle.velocity.y * surfaceTangentFactor, -particle.velocity.x * surfaceTangentFactor);
44 m.fromAngleNormalAxis(FastMath.PI * surfaceTangentRotation, particle.velocity);
48 particle.velocity.multLocal(normalVelocity);
50 particle.velocity.addLocal(temp);
53 this.applyVelocityVariation(particle);
109 protected void applyVelocityVariation(Particle particle) {
111 particle.velocity.addLocal(temp);