You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you use a for-loop iterator to change Min/Max velocity of an AEmitter's emissions, the change appears to be reset every frame and does not affect the velocity of the emitted particles. I have not tested this for other emission properties yet.
To Reproduce
Define any emitter with at least one Emission, and try using Lua to change the velocities of the emissions. The change does not persist.
Expected behavior
Changes to Min/MaxVelocity should be persistent.
Screenshots
This code only prints the initially defined MinVelocity of the emitter, or 0 if undefined. Placing the print after the change displays the correct value, but it is reset before emission.
Ah right, forgot about that; here's a mod for repro. Just spawn the bomb from the 00emitterbug group and observe as the emission doesn't change velocity despite being randomised every frame. emitterbug.zip
Describe the bug
When you use a for-loop iterator to change Min/Max velocity of an AEmitter's emissions, the change appears to be reset every frame and does not affect the velocity of the emitted particles. I have not tested this for other emission properties yet.
To Reproduce
Define any emitter with at least one Emission, and try using Lua to change the velocities of the emissions. The change does not persist.
Expected behavior
Changes to Min/MaxVelocity should be persistent.
Screenshots
This code only prints the initially defined MinVelocity of the emitter, or 0 if undefined. Placing the print after the change displays the correct value, but it is reset before emission.
emitterbug.zip
The text was updated successfully, but these errors were encountered: