負荷コントロールシステム(編集中)
導入方法
- 「レベルブループリントを開く」を選びます。
- レベルブループリントウィンドウのクラス設定を選びます。
- クラスオプション > 親クラス の
Level Script Actor
をDungeon Level Script Actor
に切り替える。
- コンパイルします。
- レベルブループリントウィンドウのクラスのデフォルトを選びます。
Partiation Size
-
負荷コントロール対象に含めたいアクターのブループリントを開きます。
-
コンポーネントに
DungeonComponentActivator
を追加します。Enable Owner Actor Tick Control
Enable Owner Actor Ai Control
Enable Component Activation Control
Enable Component Visibility Control
Enable Collision Enable Control
-
アクターがアクティブなパーティションから入ったり出たりするとコンポーネントのアクティブ性などは制御されます。
動作原理
ダンジョンパーティションとアクターのアクティブ範囲
graph TD DungeonLevelScript --> DungeonPartition DungeonPartition --> DungeonComponentActivator DungeonComponentActivator --> Actor[Owner Actor] Actor --> Component
白い格子がパーティションです。