mob-sakai/ParticleEffectForUGUI

Can't not revert to origin position after simulate

hmkc opened this issue ยท 4 comments

hmkc commented

In UIParticleRenderer.Simulate() , after move to scaled position, simulate, the particle system transform can not revert to origin position.
When isLocalSpace is true, scaledPos equals originWorldPosition.when execute move to scaled position, the psTransform's position is still the same, but its localPosition is changed.So psTransform can not revert to origin position.
In my project, it is avaliable to use SetLocalPositionAndRotation to revert to origin position.
image

oh, i met this question too! my device type is fold phone. sometimes the effect will far from origin pos

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.6.7 ๐ŸŽ‰

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 ๐Ÿ“ฆ๐Ÿš€