mob-sakai/ParticleEffectForUGUI

Is custom simulation space broken?

Open

#293 建立於 2024年1月30日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)C# (524 fork)batch import
bughelp wanted

倉庫指標

Star
 (3,441 star)
PR 合併指標
 (平均合併 54天 9小時) (30 天內合併 2 個 PR)

描述

I am updating from 3.3.9, and since then the behaviour of custom simulation space seems to have changed. I've got a particle effect inside a scroll rect with simulation space set to custom. When I move the scrollrect, I expect particles to just move with it, preserving their shape, but instead they move up and down way too far. It looks like this is a bug, or maybe custom simulation space is not supported in the current version?

Expected behaviour: particles keep moving up and down in this sin curve like pattern when I scroll

image

Observed behaviour: particles move all over the screen.

image

Also, scene preview breaks

image

I have modified the included demo scene to show this behaviour. To reproduce, open the scene and scroll up and down.

CustomSimulationSpaceBehaviourExample.zip

貢獻者指南