summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-21 15:23:48 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-06-21 15:23:48 +0200
commitb3fe249e946a85ca64f344d2dd7de6f07666bfe3 (patch)
tree752ad1b4c9705139230ba706f45e9790a1caa221 /scene/2d
parentfae3df1204df6d4a64f48b4ae931d52897e4996c (diff)
CPUParticles: Set linear velocity to 0, like GPU Particles
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/cpu_particles_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp
index a9071819e5..2396faa84b 100644
--- a/scene/2d/cpu_particles_2d.cpp
+++ b/scene/2d/cpu_particles_2d.cpp
@@ -1391,7 +1391,7 @@ CPUParticles2D::CPUParticles2D() {
set_spread(45);
set_flatness(0);
- set_param(PARAM_INITIAL_LINEAR_VELOCITY, 1);
+ set_param(PARAM_INITIAL_LINEAR_VELOCITY, 0);
set_param(PARAM_ANGULAR_VELOCITY, 0);
set_param(PARAM_ORBIT_VELOCITY, 0);
set_param(PARAM_LINEAR_ACCEL, 0);