CPUParticles: setting direction.y
zeroes direction.x
unless direction.z
is non-zero
#51162
Labels
Milestone
direction.y
zeroes direction.x
unless direction.z
is non-zero
#51162
Godot version
3.3.2-stable
System information
Artix Linux 5.12.12 :: i7-9750H 16GB GeForce 1650 Max-Q :: GLES 3
Issue description
Changing a CPUParticle's
direction.y
to anything other than zero will cause it to emit only along the Y-axis, even ifdirection.x
is non-zero, except bothdirection.x
anddirection.z
are non-zero.Here is a video (link):
Steps to reproduce
Create a CPUParticle, give it a basic mesh
Set the Direction X to something
Then change Direction Y
Observe that the particle emits exclusively on the Y-axis.
Then change Direction Z
Observe that the Direction X value is once again respected
Minimal reproduction project
Here is the test scene from the video
main.tscn
The text was updated successfully, but these errors were encountered: