mob-sakai / ParticleEffectForUGUI

Render particle effect in UnityUI(uGUI). Maskable, sortable, and no extra Camera/RenderTexture/Canvas.
MIT License
4.31k stars 622 forks source link

trail incorrect offset #335

Open fghj0810 opened 1 week ago

fghj0810 commented 1 week ago

Describe the bug 图片

To Reproduce Steps to reproduce the behavior:

  1. Set Scale 0.5 图片
  2. Set PositionMode. set auto scaling mode. 图片
  3. check world space 图片

Expected behavior trail follow patricles

Environment (please complete the following information):

Additional context I want to control the position of the UIParticle through code, so that the particle can follow the position I set and have the correct Trail effect. For example, a coin moves from one position on the screen to another position with a trailing effect. If the Scale of the Layout node is 1, then the behavior is correct. I suspect there is an issue with the handling in this area.

mob-sakai commented 1 week ago

Thank you for your reporting!

fghj0810 commented 1 week ago

336 tried to fixed