godotengine / godotengine/godot
GPUParticles Inherit Velocity is broken
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.3
### System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 960 (NVIDIA; 32.0.15.6081) - Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz (4 Threads)
### Issue description
inherit_velocity_ratio doesn't work as expected. Particles seem to emit ahead of where they're supposed to and this gap increases the higher the velocity.
The particle effect is placed at the back of the rocket, yet at this velocity they're being emitted near the front!

### Steps to reproduce
Set inherit_velocity_ratio to greater than zero.
### Minimal reproduction project (MRP)
[particles_velocity_ratio.zip](https://github.com/user-attachments/files/17049711/particles_velocity_ratio.zip)

Contributor guide
Research direction
Start with the linked particles_velocity_ratio.zip minimal reproduction project and run it in Godot 4.3 on the reported setup. Set inherit_velocity_ratio above zero and compare the particle emission position with the rocket's back as velocity increases; done means the particles emit from the expected position without the growing gap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100