15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Unity ParticleSystemで稲妻を作る

Last updated at Posted at 2017-03-18

ParticleSystemで稲妻っぽいものを作ってみました。

  • GameObject>CreateEmpty で空のオブジェクトを追加
    スクリーンショット 2017-03-18 20.36.47.png

  • Component>Effects>ParticleSystem でParticleSystemを追加
    スクリーンショット 2017-03-18 20.37.40.png

  • Inspector>ParticleSystem>GameObject>+>Trails でTrailを追加

  • RenderMode>None

  • Renderer>TrailMaterial>Default-Particle

  • StartLifetime=1

  • StartSpeed=100

  • Inspector>ParticleSystem>GameObject>+>Noise でNoiseを追加

  • Noise>Strength=30

  • Noise>Frequency=2

  • Trails>ColorOverLifetime>Gradient で後半だけ光るようにalphaを調整
    スクリーンショット 2017-03-18 20.53.26.png

  • 横向きに走る稲妻っぽいものができます。
    スクリーンショット 2017-03-18 20.57.02.png

  • 向きや数、サイズを調整して完成です。
    スクリーンショット 2017-03-18 21.34.26.png

15
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?