问题描述
在Unity中调整粒子系统的Scale,怎么改都不起作用,希望达到调整父Particle System的Scale,整个粒子系统做出相应尺寸调整的变化。
解决方法
原因
粒子系统中有一个属性叫Scaling Mode

Scaling Mode:缩放模式,Hierarchy(同时受自己与父节点的缩放影响),Local(自受自己影响),Shape(天塌下来也不缩放)。
particle system默认设置为Local,并且不允许通过transform修改Scale。
解决
If you have a group of particles together for an effect, the transform on the parent won’t scale everything correctly. Change the Scaling Mode on ALL of your particle systems to Hierarchy. This will allow you to scale the entire particle system from the parent’s transform. Hope this helps!

特别注意
如果粒子系统中启用了重力Gravity Modifier,在调整父物

本文介绍了在Unity中调整粒子系统大小的方法。当粒子系统的ScalingMode设置为Local时,直接修改父物体的Scale不起作用。文章建议将ScalingMode更改为Hierarchy,并在启用重力的情况下等比调整GravityModifier。
最低0.47元/天 解锁文章
1366

被折叠的 条评论
为什么被折叠?



