CPUParticles2D - non-interpolated global mode use global space
Changes the implementation of non-interpolated global mode particles so that the vertices are specified in proper global space instead of local space (vertices were previously back transformed by the inverse of the parent transform).
This commit is contained in:
parent
1b4bae595e
commit
bc1426dd70
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
#include "scene/2d/node_2d.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
#define GODOT_CPU_PARTICLES_2D_LEGACY_COMPATIBILITY
|
||||
// #define GODOT_CPU_PARTICLES_2D_LEGACY_COMPATIBILITY
|
||||
|
||||
class CPUParticles2D : public Node2D {
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue