Animación en Blockbench
Crea animaciones para modelos 3D usando herramientas MCP de Blockbench.
Herramientas Disponibles
| Herramienta | Propósito |
|---|---|
create_animation | Crear animaciones con fotogramas clave para huesos |
manage_keyframes | Crear/editar/eliminar fotogramas clave por hueso y canal |
animation_graph_editor | Ajustar finamente curvas de animación (smooth, linear, ease) |
bone_rigging | Crear/modificar estructura de huesos para animación |
animation_timeline | Controlar reproducción, tiempo, FPS, configuración de bucle |
batch_keyframe_operations | Operaciones por lote: desplazar, escalar, invertir, reflejar |
animation_copy_paste | Copiar datos de animación entre huesos/animaciones |
Inicio Rápido
Crear una Animación Simple
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"
Canales de Animación
position- desplazamiento [x, y, z]rotation- rotación [x, y, z] en gradosscale- escala [x, y, z] o número uniforme
Tipos de Interpolación
linear- Velocidad constantecatmullrom- Spline suavebezier- Curvas personalizadasstep- Cambio instantáneo
Flujos de Trabajo Comunes
Ciclo de Caminata (1 segundo)
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]}
]
}
Curvas Suaves
animation_graph_editor: bone_name="arm", channel="rotation", action="smooth"
Copiar Animación a un Hueso Reflejado
animation_copy_paste: action="copy", source={bone: "arm_left"}
animation_copy_paste: action="mirror_paste", target={bone: "arm_right", mirror_axis: "x"}
Ajuste de Tiempo por Lote
batch_keyframe_operations: operation="scale", selection="all",
parameters={scale_factor: 2.0} # Duplicar duración de la animación
Rigging de Huesos
Crear Estructura de Huesos
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"}
Establecer Punto de Pivote
bone_rigging: action="set_pivot", bone_data={name: "arm_left", origin: [4, 22, 0]}
Control de Línea de Tiempo
animation_timeline: action="set_fps", fps=60
animation_timeline: action="set_length", length=2.5
animation_timeline: action="loop", loop_mode="loop" # o "once", "hold"
animation_timeline: action="set_time", time=0.5
animation_timeline: action="play"
Consejos
- Usa
list_outlinepara ver los huesos disponibles antes de animar - Configura primero la jerarquía de huesos con
bone_riggingantes de agregar fotogramas clave - Usa interpolación
catmullrompara movimientos orgánicos - Usa interpolación
steppara movimientos mecánicos/robóticos - Refleja animaciones para rigs simétricos para ahorrar tiempo