Use global coordinates for particles by default

Particles won't move or rotate anymore with the node (or its parents)
by default. This new default behavior is generally more suited
to most use cases. Local coordinates can still be enabled on a per-node basis.

This affects both 2D and 3D particles, and both CPU and GPU-based particles.
This commit is contained in:
Hugo Locurcio 2022-06-09 17:38:07 +02:00
parent 3b39f00761
commit 84076513b1
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
9 changed files with 13 additions and 13 deletions

View file

@ -159,7 +159,7 @@ private:
real_t randomness = 0.0;
bool restart_request = false;
AABB custom_aabb = AABB(Vector3(-4, -4, -4), Vector3(8, 8, 8));
bool use_local_coords = true;
bool use_local_coords = false;
bool has_collision_cache = false;
bool has_sdf_collision = false;