godotengine / godotengine/godot

GPUParticles Inherit Velocity is broken

Open
#97,160 25 comments 4 reactions 0 assignees View on GitHub
enhancement topic:particles
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!
![image](https://github.com/user-attachments/assets/5e9dd128-0bbe-4508-ab0d-3882209f98ad)

### 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)
![image](https://github.com/user-attachments/assets/a0765229-b284-464f-9a6b-d9d1bd0c4ee6)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.