mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 04:33:29 +00:00
CPUParticles: Set linear velocity to 0, like GPU Particles
This commit is contained in:
parent
fae3df1204
commit
b3fe249e94
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user