Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPUParticles3D incorrectly applies the angle parameters when particle_flag_rotate_y is used. #89559

Closed
apples opened this issue Mar 16, 2024 · 0 comments · Fixed by #89595
Closed

Comments

@apples
Copy link
Contributor

apples commented Mar 16, 2024

Tested versions

System information

Windows 10.0.19044 - Vulkan (Mobile) - dedicated Radeon RX Vega (Advanced Micro Devices, Inc.; 31.0.21910.5) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

CPUParticles3D incorrectly applies the angle_min and angle_max properties when the particle_flag_rotate_y flag is used.

Specifically, the angle value is applied as angular velocity rather than a fixed value. This is contrary to the behavior when the particle_flag_disable_z flag is used. Additionally, GPUParticles3D correctly applies the angle value when an equivalent configuration is used.

Here is a video demonstrating the difference between CPUParticles3D and GPUParticles3D:

cpu_vs_gpu_particle_angle.mp4

And here are the properties used for each:

image image

Steps to reproduce

  1. Create a CPUParticles3D node with particle_flag_rotate_y = true and angle_min and angle_max set to an arbitrary non-zero range.
  2. Observe that the particles spin extremely fast.

Minimal reproduction project (MRP)

cpuparticles3d-rotate_y-angle-repro.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants