Particle system and drivers #79771
Operating system: Windows 10 version 10.0.19041
Graphics card: NVIDIA GeForce RTX 2080
Short description of error
When use a driver in a particle system the particle system doesn't react to driver value change
Exact steps for others to reproduce the error
- Create a particle system emitter
- Create a trigger object
- Add a custom property to the trigger object
- Relate the property with Velocity.Normal (var = Cube.["trigger"]) Expression: var*10
- Run animation
- Change the trigger property value to 0
- Velocity.Normal changed to 0 but particles are still emitted
Look at the attached example.
Changed status from 'Needs Triage' to: 'Confirmed'
Changed status from 'Confirmed' to: 'Needs User Info'
@3D_modelling Could you please spend some time trimming down the example file? There are multiple objects that may or may not influence the result, there are multiple particle systems, and all of that is probably just noise.
I've tried to reproduce the issue with a smaller file, but there the particle system responds just fine to a driver. I tried with a file created in 2.79 as well as the current development version (master branch @
Result file is attached. I use 2.83.2 on Windows 10
There is no problem with the first pass. On the first pass, the particle system reacts to driver changes. But on the first pass of the animation, a cache is formed, which is not updated later if the driver changes.
Changed status from 'Needs User Info' to: 'Archived'
Ah, so the problem is not as described (driver not working), but the problem is that the cache system is caching too much?
The particle system's cache is only invalidated on manual changes, and not on changes of the driver's value -- Blender doesn't see the difference between "a driver changing value" and "a driver changing value but to a different value than it was the last time it played that frame".
The particle simulation system is marked "End of Life". This means that recently-introduced bugs may be fixed, but apart from that no changes are made.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?