Only interpolate if particles are in world space
This commit is contained in:
parent
6075e4639d
commit
c8a16c940f
@ -1021,7 +1021,7 @@ public class ParticleEmitter extends Geometry {
|
||||
Particle p = emitParticle(min, max);
|
||||
if (p != null){
|
||||
p.life -= tpf;
|
||||
if (lastPos != null) {
|
||||
if (lastPos != null && isInWorldSpace()) {
|
||||
p.position.interpolateLocal(lastPos, 1 - tpf / originalTpf);
|
||||
}
|
||||
if (p.life <= 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user