Unity无法旋转粒子系统 [英] Unity can't rotate particle system
问题描述
我正在使用此资产中的oneShot爆炸_1:
I am using the oneShot Explosion_1 from this asset:
https://assetstore.unity.com/packages/vfx/particles/particle-effects-1-90769
我想将其在x轴上旋转90°,但是如果我更改对象或其父对象的旋转,则对这个粒子系统没有影响.
I want to rotate it by 90° on the x-axis, but if i change the rotation of the object, or its parent object it has no effect on this particle system.
我尝试过的事情:
- 禁用
velocity over lifetime
- 将
simulation space
更改为world
- 尝试用
particle system
旋转gameobject
- 将带有
particle system
的gameobject
添加到parent object
,并尝试rotate
该gameobject
. - 更改
3D Start Rotation.
- disabling
velocity over lifetime
- changing the
simulation space
toworld
- try to rotate the
gameobject
with theparticle system
- add the
gameobject
with theparticle system
to aparent object
and try torotate
thatgameobject
. - change the
3D Start Rotation.
推荐答案
@Noblight在正确的轨道上:
@Noblight is on the right track:
取决于您选择的形状,粒子应始终按照变换指向的方式进行发射.球体始终为360度,半球始终位于向前90度以内,圆锥体始终以变换的方式为目标.
Depending on which shape you select, the particles should always fire the way the transform is pointing. Sphere is always 360, hemisphere is always within 90 degrees of forwards, cone always aims the way the transform goes.
现在,在ForceOverLifeTime和VelocityOverLifetime中,Local/Global的设置确实可以选择要使用的坐标系.但是使用它们的人并不多.例如,使用紧密的圆锥体和sizeOverTime可以轻松制作推进器火焰".
Now, down in ForceOverLifeTime and VelocityOverLifetime, the settings for Local/Global really do pick which coord system to use. But not many people use those. For example, "thruster flames" are easy to make with a tight cone and sizeOverTime.
这篇关于Unity无法旋转粒子系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!