You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
CPUParticles: Set linear velocity to 0, like GPU Particles
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -1459,7 +1459,7 @@ CPUParticles::CPUParticles() {
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user