Blockbench 애니메이션
Blockbench MCP 도구를 사용하여 3D 모델의 애니메이션을 만듭니다.
사용 가능한 도구
| 도구 | 목적 |
|---|---|
create_animation | 본에 키프레임을 포함한 애니메이션 생성 |
manage_keyframes | 본 및 채널별 키프레임 생성/수정/삭제 |
animation_graph_editor | 애니메이션 곡선 미세 조정 (smooth, linear, ease) |
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} # 애니메이션 지속 시간 두 배로
본 리깅
본 구조 생성
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보간을 사용하세요. - 대칭 리깅의 경우 애니메이션을 미러링하여 시간을 절약하세요.