mob-sakai/ParticleEffectForUGUI

Is custom simulation space broken?

开放

#293 创建于 2024年1月30日

 (2 条评论) (0 个反应) (1 位负责人)C# (760 个派生)batch import
bughelp wanted

仓库指标

星标
 (5,940 个星标)
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

贡献者指南