Blockbench アニメーション は何をしますか?
Blockbench MCP ツールを使用して 3D モデルのアニメーションを作成します。
利用可能なツール
| ツール | 目的 |
|---|---|
create_animation | ボーンのキーフレームを含むアニメーションを作成 |
manage_keyframes | ボーンとチャンネルごとにキーフレームを作成・編集・削除 |
animation_graph_editor | アニメーションカーブを微調整 (スムーズ、リニア、イーズ) |
bone_rigging | アニメーション用のボーン構造を作成・変更 |
animation_timeline | 再生、時間、FPS、ループ設定を制御 |
batch_keyframe_operations | バッチ操作: オフセット、スケール、リバース、ミラー |
animation_copy_paste | ボーン間やアニメーション間でアニメーションデータをコピー |
クイックスタート
シンプルなアニメーションを作成
1. create_animation: name="walk", animation_length=1.0, loop=true
2. manage_keyframes: bone_name="leg_left", channel="rotation",
keyframes=[{time: 0, values: [30, 0, 0]}, {time: 0.5, values: [-30, 0, 0]}]
3. animation_timeline: action="play"
アニメーションチャンネル
position- [x, y, z] オフセットrotation- [x, y, z] 度scale- [x, y, z] または統一数値
補間タイプ
linear- 一定速度catmullrom- スムーズなスプラインbezier- カスタムカーブstep- 瞬間変化
一般的なワークフロー
ウォークサイクル (1秒)
create_animation: name="walk", animation_length=1.0, loop=true, bones={
"leg_left": [
{time: 0, rotation: [30, 0, 0]},
{time: 0.5, rotation: [-30, 0, 0]},
{time: 1.0, rotation: [30, 0, 0]}
],
"leg_right": [
{time: 0, rotation: [-30, 0, 0]},
{time: 0.5, rotation: [30, 0, 0]},
{time: 1.0, rotation: [-30, 0, 0]}
]
}
スムーズなカーブ
animation_graph_editor: bone_name="arm", channel="rotation", action="smooth"
ミラーボーンにアニメーションをコピー
animation_copy_paste: action="copy", source={bone: "arm_left"}
animation_copy_paste: action="mirror_paste", target={bone: "arm_right", mirror_axis: "x"}
バッチタイミング調整
batch_keyframe_operations: operation="scale", selection="all",
parameters={scale_factor: 2.0} # アニメーションの長さを2倍に
ボーンリギング
ボーン構造を作成
bone_rigging: action="create", bone_data={name: "spine", origin: [0, 12, 0]}
bone_rigging: action="create", bone_data={name: "head", origin: [0, 24, 0], parent: "spine"}
ピボットポイントの設定
bone_rigging: action="set_pivot", bone_data={name: "arm_left", origin: [4, 22, 0]}
タイムライン制御
animation_timeline: action="set_fps", fps=60
animation_timeline: action="set_length", length=2.5
animation_timeline: action="loop", loop_mode="loop" # または "once", "hold"
animation_timeline: action="set_time", time=0.5
animation_timeline: action="play"
ヒント
- アニメーションを開始する前に
list_outlineを使用して利用可能なボーンを確認 - キーフレームを追加する前に
bone_riggingでボーンの階層を設定 - 有機的な動きには
catmullrom補間を使用 - 機械的・ロボット的な動きには
step補間を使用 - 対称的なリグではアニメーションをミラーリングして時間を節約