Alchemist0823 / three.quarks

Three.quarks is a general purpose particle system / VFX engine for three.js
https://quarks.art
480 stars 22 forks source link

Fix scale mean formula when one axis is flipped #68

Closed D8H closed 11 months ago

D8H commented 11 months ago

I'm maintaining an extension for GDevelop that uses three.quarks. https://wiki.gdevelop.io/gdevelop5/extensions/particle-emitter3d/

GDevelop flips the Y axis to be consistent with its 2D rendering. Because of this, the scale is negative on one axis and the sum is 1 instead of 3. It results in particles being 3 times smaller than expected.

I guess that using absolute scale values should fix the issue.

Alchemist0823 commented 11 months ago

Thanks for your contribution.