|
|
@ -1138,6 +1138,7 @@ public class ParticleEmitter extends Geometry { |
|
|
|
oc.write(endSize, "endSize", 0); |
|
|
|
oc.write(endSize, "endSize", 0); |
|
|
|
oc.write(worldSpace, "worldSpace", false); |
|
|
|
oc.write(worldSpace, "worldSpace", false); |
|
|
|
oc.write(facingVelocity, "facingVelocity", false); |
|
|
|
oc.write(facingVelocity, "facingVelocity", false); |
|
|
|
|
|
|
|
oc.write(faceNormal, "faceNormal", new Vector3f(Vector3f.NAN)); |
|
|
|
oc.write(selectRandomImage, "selectRandomImage", false); |
|
|
|
oc.write(selectRandomImage, "selectRandomImage", false); |
|
|
|
oc.write(randomAngle, "randomAngle", false); |
|
|
|
oc.write(randomAngle, "randomAngle", false); |
|
|
|
oc.write(rotateSpeed, "rotateSpeed", 0); |
|
|
|
oc.write(rotateSpeed, "rotateSpeed", 0); |
|
|
@ -1175,6 +1176,7 @@ public class ParticleEmitter extends Geometry { |
|
|
|
worldSpace = ic.readBoolean("worldSpace", false); |
|
|
|
worldSpace = ic.readBoolean("worldSpace", false); |
|
|
|
this.setIgnoreTransform(worldSpace); |
|
|
|
this.setIgnoreTransform(worldSpace); |
|
|
|
facingVelocity = ic.readBoolean("facingVelocity", false); |
|
|
|
facingVelocity = ic.readBoolean("facingVelocity", false); |
|
|
|
|
|
|
|
faceNormal = (Vector3f)ic.readSavable("faceNormal", new Vector3f(Vector3f.NAN)); |
|
|
|
selectRandomImage = ic.readBoolean("selectRandomImage", false); |
|
|
|
selectRandomImage = ic.readBoolean("selectRandomImage", false); |
|
|
|
randomAngle = ic.readBoolean("randomAngle", false); |
|
|
|
randomAngle = ic.readBoolean("randomAngle", false); |
|
|
|
rotateSpeed = ic.readFloat("rotateSpeed", 0); |
|
|
|
rotateSpeed = ic.readFloat("rotateSpeed", 0); |
|
|
|