From 52dd0f8751b2de72b41f06e637411c9e2a0f9e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 11 Jun 2019 17:47:24 +0200 Subject: Implement missing orbit velocity for CPUParticles and CPUParticles2D The relevant code was copied from (GPU) ParticlesMaterial but commented out initially, and never ported. Closes #29580. --- scene/3d/cpu_particles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/3d/cpu_particles.h') diff --git a/scene/3d/cpu_particles.h b/scene/3d/cpu_particles.h index b863a3cb3f..6a989251f1 100644 --- a/scene/3d/cpu_particles.h +++ b/scene/3d/cpu_particles.h @@ -53,7 +53,7 @@ public: PARAM_INITIAL_LINEAR_VELOCITY, PARAM_ANGULAR_VELOCITY, - //PARAM_ORBIT_VELOCITY, + PARAM_ORBIT_VELOCITY, PARAM_LINEAR_ACCEL, PARAM_RADIAL_ACCEL, PARAM_TANGENTIAL_ACCEL, -- cgit v1.2.3