Version: 5.4
葉のプロパティー
パーティクルシステム

Tree - Wind Zone

Wind Zone は、風が吹いた場合に、枝や葉を揺らすことで、よりリアルな描写を可能にします。

左側が Spherical Wind Zone、右側が Directional Wind Zone
左側が Spherical Wind Zone、右側が Directional Wind Zone

プロパティー

プロパティー 機能
Mode
        Spherical Wind Zone は、半径内でのみ効果を発揮し、中心から端に行くにつれて減衰します
        Directional Wind Zone が、シーン全体に 1 方向に影響します
Radius Spherical Wind Zone の半径 (モードを Spherical に設定した場合にのみ有効になります)
Main 風力 緩やかに変化する風を発生させます
Turbulence 気流の風力 急激に変化する風を発生させます
Pulse Magnitude 時間の経過によって変化する度合いを定義します
Pulse Frequency 時間の経過とともに変化する頻度を定義します。

詳細

Wind Zone は、葉や枝を動かすために、 Tree Creator だけに使用されます。これは、樹木をより自然に表現し、ゲーム内の力 (爆発で生じる爆風など) が木に影響を与えているかのように見せるのに便利です。 Tree (木) がどのように機能するかの詳細は、Tree エディター を参照してください。

Unity での Wind Zone の使用

Using Wind Zones in Unity is really simple. First of all, to create a new wind zone just click on Game Object > Create General > Wind Zone.

(タイプによって) Wind Zone を Tree エディター 近くに配置し、木がどのように影響を受けるかを確認します。

Note: If the wind zone is Spherical you should place it so that the trees you want to blow are within the sphere’s radius. If the wind zone is directional it doesn’t matter where in the scene you place it.

Hints

  • ゆっくりと変化する通常の風を生成するには、以下のようにします。
    • Directional モードの Wind Zone を作成します。
    • 風をどの程度強くするかに応じて、Wind Main を 1.0 以下に設定します。
    • Turbulence を 0.1 に設定します。
    • Pulse Magnitude を 1.0 以上に設定します。
    • Pulse Frequency を 0.25 に設定します。
  • ヘリコプターの効果を作成するには、以下のようにします。
    • Spherical モードの Wind Zone を作成します。
    • Radius をヘリコプターのサイズにあった値に設定します。
    • Wind Main を 3.0 に設定します。
    • Turbulence を 5.0 に設定します。
    • Turbulence を 5.0 に設定します。
    • Pulse Frequency を 1.0 に設定します。
    • ヘリコプターに似た GameObject に Wind Zone を追加します。
  • 爆発の効果を作成するには、以下のようにします。
    • ヘリコプターの場合と同じですが、Wind Main と Turbulence を素早くフェードアウトさせます。
葉のプロパティー
パーティクルシステム