Setting trail_lifetime
of a particle below 0.1 will always result in an ERROR_COND
#79091
Labels
Milestone
Godot version
4.0.1.stable
System information
Manjaro Linux
Issue description
As the title mentions, setting the property
trail_lifetime
ofGPUParticles3D
below 0.1 will - as defined inservers/rendering/renderer_rd/storage_rd/particles_storage.cpp:424
- always result in the error message:ERROR: Condition "p_length < 0.1" is true.
This is true for setting it from the editor and from script. Since this is a hardcoded value, would it not be more user-friendly to limit the
p_length
and warn the user if they try to set it below this threshold?Steps to reproduce
Create a scene with
GPUParticles3D
and set the propertytrail_lifetime
below 0.1 from editor or script.Minimal reproduction project
Trivial
The text was updated successfully, but these errors were encountered: