mob-sakai/ParticleEffectForUGUI

Reset previous position on start play for Simulation space World

PragmaGame opened this issue ยท 3 comments

I have a particle that looks like a "Trail" [Simulation space World, Emission Rate over Distance]. I also have a particle pool. Taking a uiparticle from the pool, I change its position (game object was active), then turn on the effect and the particle leaves a trace equal to the distance between the spawn position and the current one, since the renderer will save the previous position of the particle. The problem was solved by setting the current position to the previous one.

Thank you for your reporting!
I would like to know more about this issue.
Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?

repos

๐ŸŽ‰ This issue has been resolved in version 4.7.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

๐ŸŽ‰ This issue has been resolved in version 5.0.0-preview.2 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€