Unity无法旋转粒子系统 [英] Unity can't rotate particle system

查看:1490
本文介绍了Unity无法旋转粒子系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用此资产中的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 systemgameobject添加到parent object,并尝试rotategameobject.
  • 更改3D Start Rotation.
  • disabling velocity over lifetime
  • changing the simulation space to world
  • try to rotate the gameobject with the particle system
  • add the gameobject with the particle system to a parent object and try to rotate that gameobject.
  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆