Motion :: MvT RefVec ::
ASTER::ACTION::ObjectControl::motion::MoveTowards::RefVec..
事前に作成された Reference Vector をターゲットに、Pursuer として選択されたオブジェクト・インスタンス群を Reference Vector に格納された x
|Y
座標へ移動させる。
Once the movement is completed, the motion group is automatically deregistered. Even after the motion group is deregistered, the selection information of instances chosen as mvt.Tgt or mvt.Prs remains.
利用する前に
ASTER :: ObjectControl :: MvtUtil :: Reference Vector を事前に作成してください。
functions | Shapes |
---|---|
Reference Vector :: Hexagonal | Hexagon, Trapezoid, Rhombus, Triangle |
Reference Vector :: Circumference | Circle, Semi-Circle |
ASTER の MoveTowards ではユーザ操作で任意インスタンスを 群.A
と 群.B
にグループ分けし、その選択を記録する補助機能として MvtUtil があります。
群.A
と群.B
を本ドキュメントでは便宜上、群.A を Target と、群.B を Pursuer と呼称します。
Pursuer
はインスタンスであり、Target
はインスタンス以外に配列を指定できます。
パラメータ.1
Enter the motion group name to register to the motion controller.
Even instances created from different objects can be grouped with the same motion group name and managed by the controller.
Instances already registered to the controller cannot be duplicately registered under a different group name.
Multibyte strings (such as Japanese) can also be used, but for practical purposes, short names in lowercase letters are recommended.
"test"
When using the name set to the active object as the motion group name for registration, send an empty string.
""
パラメータ.2
複数パラメータを文字列で一括送信します。JSON と連携できます。
e.g.
" 30, 10, 0, 30, 1, true, 0, true "
- timebound (unsigned int) 符号なし整数値
- offset1 (int) 符号あり整数値 ( rev.0.9.39 には実装が無い予約領域 )
- motion-type (unsigned int) 符号なし整数値 (
0
| 1 ) ( rev.0.9.39 には0
以外の実装は無し ) - Sleep (unsigned int) 符号なし整数値
- Sleep Repetition (int) 符号あり整数値
- Sleep Begin Flag (boolean)
- Sleep Interval Value (unsigned int) 符号なし整数
- offset2 (boolean) ( rev.0.9.39 には実装が無い予約領域 )
その他、注意点
Null Motion は動作が無く、登録されただけではオブジェクトは動きません。
利用法は付属の動作サンプルで、具体的な使用例やイベントが閲覧できます。