Simulation Events are used for setting up your scene environment before running the simulation, but they are also useful for running custom actions required for your workflow or specific shot.
A Simulation Event has a set of methods which are called during the simulation at different stages. They are called in the following order:
Init simulation (at the beginning of the simulation, before the first frame)
Init frame (at the beginning of each frame)
Compute frame (for every frame)
End frame (at the end of each frame)
End simulation (at the end of the simulation - after the last frame)
Simulation Events have also few other methods which are run at specific stages:
Load (when the event it loaded)
- Unload (when the event it unloaded)
- Reset Simulation (on resetting the simulation)
Users can create new Simulation Events to customize their workflow.
Currently two specialized Simulation Events exist: Agent types and Animation clips.
...
...
シミュレーションイベントは、シミュレーションを実行する前にシーン環境を設定するために使用されます。また、ワークフローや特定のショットに必要なカスタムアクションを実行するためにも役立ちます。
シミュレーションイベントには、シミュレーション実行中に様々な段階で呼び出される一連のメソッドがあります。それらは以下の順序で呼ばれます。
- シミュレーションの開始(シミュレーションの開始時、最初のフレームの前)
- 初期フレーム(各フレームの先頭)
- 計算フレーム(フレームごとに)
- 終了フレーム(各フレームの終わり)
- シミュレーション終了(シミュレーション終了時、最後のフレームの後)
シミュレーションイベントには、特定の段階で実行される他の方法もいくつかあります。
- Load(イベントがロードされた時)
- Unload(イベントがアンロードされた時)
- Reset Simulation(シミュレーションのリセット時)
ユーザーは新規シミュレーションイベントを作成して、自分のワークフローをカスタマイズすることができます。
現在、2つの特定のシミュレーションイベントが存在します。
- Agent Typeは、エージェントの定義です。こちらには、スケルトン定義、プロキシジオ、スキンジオが含まれています。ステートマシンとスケール乗数を割り当てることもできます。詳しくは、Agent Typeのページをご覧ください。
- Animation Clipは、任意のエージェントが使用できる新規クリップを定義します。ユーザーは、fbxまたはatomsclipファイルと、開始および終了フレーム、ループやアイドル状態、方向などのその他の詳細を提供する必要があります。詳細については、Animation Clipページをご覧ください。