パーティクルやエフェクトの向きをオブジェクトの向きに合わせたい

左右非対称のデザインのパーティクルやエフェクトを発生時に発生元のオブジェクトの向きに合わせたいのですが何か方法はありますでしょうか?
現状弾やオブジェクトは一度に複数出すと非常に重くなるのでなるべくエフェクトやパーティクルを使いたのですが、向きが変えられないとなると左右対称のものしか使えなさそうです。

1 Like

Try this to make asymmetrical 2D particles align with their direction:

  1. Select your GPUParticles2D node.

  2. In the Inspector, go to Process Material (ensure it is a ParticleProcessMaterial).

  3. Expand the Particle Flags section.

  4. Check Align Y.

Important: Your particle texture image must be drawn facing UP (vertical). If the sprite faces right/left in the image file, it will travel sideways. Rotate the image 90 degrees so it points Up.

3 Likes

教えていただきありがとうございます!

教えていただいた方法で画像がオブジェクトの向きに合うようになりました。

1 Like