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

Vulkan: GPUParticles3D unrotate with Transform Align: Y to Velocity when velocity reaches 0 #64349

Open
MagnusL3D-code opened this issue Aug 13, 2022 · 0 comments

Comments

@MagnusL3D-code
Copy link

Godot version

Godot 4, alpha14 official [106b680]

System information

Windows

Issue description

Using damping on child particles casues them to unrotate when velocity reaches 0 when using the Transform Align: Y to Velocity setting. It does however work as expect if one instead uses the Particles Flags, Align Y toggle.

Unsure why there are two and one is better than the other.

Steps to reproduce

Add A GPU Particle system, preferable with the new turbulence so particles fly around in different direction.
Add a 2ND GPU particle system, make the first one use the 2nd one as a sub emittor.
Add a "flat" box to the 2nD GPU particle and set it to Transform Align: Y to Velocity, also set damping to min/max 5/5 so that the child particles reach 0 velocity. Watch how at 0 velocity the sub emittors particles snap back to unrotated.

Attached project with it already setyp.

Minimal reproduction project

particle_align_rotation_bug.zip

@MagnusL3D-code MagnusL3D-code changed the title Partile unrotate with Transform Align: Y to Velocity when velocity reaches 0 Particle unrotate with Transform Align: Y to Velocity when velocity reaches 0 Aug 13, 2022
@Calinou Calinou added this to the 4.0 milestone Aug 13, 2022
@Calinou Calinou changed the title Particle unrotate with Transform Align: Y to Velocity when velocity reaches 0 Vulkan: GPUParticles3D unrotate with Transform Align: Y to Velocity when velocity reaches 0 Aug 13, 2022
@clayjohn clayjohn modified the milestones: 4.0, 4.x Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants